Skip to content

Hang with "redirectOutput":true and too much output #83

Closed
@oliviercwa

Description

@oliviercwa

Hello,
I am debugging Python code in VS Code and and in the middle of the debugging session, at random time, it hangs. Everything is still responsive and you can interact with everything, but the execution is frozen and anything related to debugging does not evaluate. I try to press F5, click on the Start button, but the debugging session does not continue.

Notes:

  • It can also happen after when it hits a breakpoint and I type a debug command. Once it happens, there's a small arrow that appears to the left of the last command that was sent to the debug windows. All subsequent commands will show the same sign to the left (no evaluation performed). Also threads are shown as paused and clicking on resume does nothing. Again the VS code window is responsive, just the debugging seems frozen.
  • It also happens when using RUN WITHOUT DEBUGGING. But it does not happen when running outside of VS Code from a Powershell windows for example.
  • The only way to continue is to STOP and restart.

This is very painful as prevents the ability to debug Python in good conditions.

Environment:
OS: Windows_NT x64 10.0.19041
Python: 3.7.4 64 bits
VS:
Version: 1.43.1 (user setup)
Commit: fe22a9645b44368865c0ba92e2fb881ff1afce94
Date: 2020-03-18T07:01:20.184Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions