Debugger hangs and then silently exits
See original GitHub issueEnvironment 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 panel
Hello
Output from Console window
(Help->Developer Tools menu)
The console in Developer Tools remains blank.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top GitHub Comments
This has been resolved upstream.
I’ve filed an issue upstream https://github.com/Microsoft/ptvsd/issues/414 The problem is with the debugger, i believe when attempting to evaluate the local variables (in this case
itk_vector
).