-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Debugger hangs and then silently exits #459
Comments
PTVSD library is crashing silently. |
@thomaspheiffer
Let me know how that goes. Thanks. |
Hi @DonJayamanne, I just gave it a shot, with this as my current setup: VS Code version: 1.22.2 Unfortunately, I still get a crash when I reproduce the steps above (set the breakpoint at the ITK vector and try to step over it). However! This may actually not be a specific problem with the debugger(?). There is some additional output that gets printed to terminal compared to when I last tried this. Whether I use the old debugger or the experimental debugger, I get:
I also just noticed that if I delete the breakpoint and still launch the script with Start Debugging using the same
This is all local debugging in a virtual environment using Python 3.6.3. |
I've filed an issue upstream microsoft/ptvsd#414 |
This has been resolved upstream. |
Environment data
VS Code version: 1.19.0
Python Extension version: 0.9.1
Python Version: 3.6.3
OS and version: macOS High Sierra 10.13.2
Actual behavior
Debugger hangs when trying to step over a line of code instantiating an ITK vector object (seems to be a simple wrapper around a std::vector<>). Eventually the debugger silently stops with no other output.
Expected behavior
Debugger should step over this code and the ITK vector should be inspectable as an initialized vector of zeros. I believe this is a problem with the VSCode python extension because this code can be debugged in the same environment using Pycharm.
Steps to reproduce:
pip install itk==4.12.0.post1
Start debugger, run to break point on line 4. Attempt to step over to line 5. The debugger will then hang and eventually exit.
Logs
Output from
Python
output panelOutput from
Console window
(Help->Developer Tools menu)The console in Developer Tools remains blank.
The text was updated successfully, but these errors were encountered: