Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second program startup produces wall of text #8584

Closed
niwax opened this issue Nov 14, 2019 · 5 comments
Closed

Second program startup produces wall of text #8584

niwax opened this issue Nov 14, 2019 · 5 comments
Assignees
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug regression Bug didn't exist in a previous release

Comments

@niwax
Copy link

niwax commented Nov 14, 2019

Environment data

  • VS Code version: 14.0.1 (user setup)
  • Extension version (available under the Extensions sidebar): 2019.10.44104
  • OS and version: Windows 10.0.18362.418
  • Python version (& distribution if applicable, e.g. Anaconda): 3.6.7 x64
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: N/A
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): Jedi

Expected behaviour

When using Debug > Start Debugging or Debug > Start Without Debugging, the program should start in a timely manner and write its output to the console.

Actual behaviour

Starting from the second use of each function, VS code produces a wall of text on the console for several seconds before the program starts. The users PowerShell console history outside of VS Code is also spammed with the messages.

This happens for either start option independently, the first execution of both works as expected.

Steps to reproduce:

  1. Start the program through Debug > Start Debugging or Debug > Start Without Debugging
  2. Wait for the program to finish
  3. Start another debugging session through the same method as 1.

(optional) Open a PowerShell independently of VS Code and press the up arrow to cycle through the messages.

Logs

The Output console shows nothing beyond a suggestion to install pylint.

I have uploaded the offending output from Terminal > Python Debug Console here for brevity: https://gist.github.com/niwax/e42c80ff9bbe104a4a86e2554fa95bea

@niwax niwax added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Nov 14, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Nov 14, 2019
@karrtikr
Copy link

The issue seems to be a dup of #7436

Please try some of the workarounds mentioned there,

  • close the Python debug console every time you are done debugging (so that it re-creates a terminal next time)
  • use a different shell (git bash, cmd, another version of powershell-core or Windows Powershell)

@karrtikr
Copy link

We'll look into a more permanent soln of this issue when working on #8180.

@karrtikr karrtikr added the info-needed Issue requires more information from poster label Nov 17, 2019
@karrtikr
Copy link

Closing in favor of #8180 for now.

@ghost ghost removed the triage label Nov 18, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 25, 2019
@karthiknadig karthiknadig self-assigned this Nov 27, 2019
@karthiknadig karthiknadig reopened this Nov 27, 2019
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Nov 27, 2019
@karthiknadig karthiknadig added area-debugging needs PR and removed triage-needed Needs assignment to the proper sub-team labels Nov 27, 2019
@karthiknadig karthiknadig added this to the 2019 November Sprint 2 milestone Nov 27, 2019
@karthiknadig
Copy link
Member

See #8820 for the fix and #8180 (comment) for the explanation.

@karrtikr karrtikr added regression Bug didn't exist in a previous release and removed info-needed Issue requires more information from poster labels Nov 27, 2019
@karrtikr
Copy link

Validated✅

@ghost ghost removed the needs PR label Nov 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug regression Bug didn't exist in a previous release
Projects
None yet
Development

No branches or pull requests

3 participants