Skip to content
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

Cannot do mixed debug python/lldb #5748

Closed
weinblut opened this issue Jul 8, 2020 · 1 comment
Closed

Cannot do mixed debug python/lldb #5748

weinblut opened this issue Jul 8, 2020 · 1 comment
Labels
debugger investigate: repro This issue's repro steps needs to be investigated/confirmed

Comments

@weinblut
Copy link

weinblut commented Jul 8, 2020

Environment data

  • VS Code version: Version: 1.46.1

  • OS and version: macOS 10.15.5

  • Microsoft C/C++ extension version 0.28.3 is installed

  • Python extension version: v2020.6.91350

  • Python version: 3.6.7

  • Following configuration is set in launch.json
    `
    {

        "name": "Python: Current File",
        "type": "python",
        "request": "launch",
        "program": "${file}",
        "console": "integratedTerminal",
    },
    {
        "name": "(lldb) Attach",
        "type": "cppdbg",
        "request": "attach",
        "program": "${workspaceFolder}/a.out",
        "processId": "${command:pickProcess}",
        "MIMode": "lldb"
    },
    

`

Expected behaviour

While python debugger runs, attach lldb to 'current file' python process and proceed with mixed debuggers.
Steps:

  1. Type CMD+P from the python file to run that is open in the vscode editor
  2. type debug and select the "Python: current file debugger"
  3. Once python is running, type CMD+P
  4. Type debug and select (lldb) Attach
  5. Search for running python process in the open command line and select it
  6. Mixed debug python/lldb runs

Actual behaviour

While python debugger runs and command box (CMD+P) is open, selecting (lldb) Attach debugger just has no effect.
Steps:

  1. Type CMD+P from the python file to run that is open in the vscode editor
  2. type debug and select the "Python: current file debugger"
  3. Once python is running, type CMD+P
  4. Type debug and select (lldb) Attach
  5. No effect

What I have done so far

  • Downgrade of C/C++ extension to older version -> still same issue
  • Downgrade of Python extension: not possible as reported here
  • If the python debugger does not run, I am able to browse the running processes with (lldb) Attach but since the python process I want to attach to does not run, I can‘t select it.
  • Create an issue in vscode-python team github: Cannot do mixed debug python/lldb vscode-python#12785 -> Forwarded to vscode-cpptools team
@WardenGnaw WardenGnaw added debugger investigate: repro This issue's repro steps needs to be investigated/confirmed labels Jul 9, 2020
@github-actions
Copy link

github-actions bot commented Jan 6, 2021

This issue has been closed automatically because it has not had recent activity.

@github-actions github-actions bot closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debugger investigate: repro This issue's repro steps needs to be investigated/confirmed
Projects
None yet
Development

No branches or pull requests

2 participants