Skip to content

Debugger hangs and then silently exits #459

@thomaspheiffer

Description

@thomaspheiffer

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

image

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.

Metadata

Metadata

Assignees

Labels

area-debuggingbugIssue identified by VS Code Team member as probable bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions