microsoft / microsoft/vscode-cpptools

VS Code hangs with lldb + ipython

Open
#1,523 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugger more info needed
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Note: Migrated from the vscode repository

  • VSCode Version: Code 1.19.3 (7c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba, 2018-01-25T10:25:01.248Z)
  • OS Version: Darwin x64 16.7.0
  • Extensions:
Extension Author (truncated) Version
cpptools ms- 0.14.6

Steps to Reproduce:

  1. Create a 'fresh' launch.json.
  2. Launch ipython.
  3. Pick (lldb) Attach from the debugging drop-down menu.
  4. Run Python script from ipython, lldb stops at breakpoint in C++ code, as expected.
  5. Unable to Step or Continue from the debugging menu. Have to hit Disconnect twice to disconnect.

After this, Ipython is still running, but unresponsive. I have to 'Force quit' it from the Activity Monitor (process that needs to be killed is called lldb-mi).

Reproduces without extensions: Yes (with cpptools of course)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the fresh launch.json and reproduce the lldb + ipython session using the listed VS Code and cpptools versions. Investigate the attach, Step, Continue, and Disconnect behavior around lldb-mi; the issue is done when stepping and continuing work and ipython remains responsive without force-quitting lldb-mi.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.