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

Subprocess stacks not loading properly #357

Closed
BrunoCoimbra opened this issue Jun 6, 2024 · 1 comment
Closed

Subprocess stacks not loading properly #357

BrunoCoimbra opened this issue Jun 6, 2024 · 1 comment
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@BrunoCoimbra
Copy link

When running an interactive debug session with debugpy, the debugger stops at subprocess breakpoints, but the current line is highlighted green instead of yellow.

Screenshot 2024-06-06 at 11 56 48 AM

Note, that there's no arrow on the breakpoint line (117), that the subprocess stack frames weren't loaded on the call stack panel, and that the variables panel is empty. If I then click on "Show 6 More Stack Frames" and select the first stack frame, the arrow appears on the current line and the variables panel is properly filled.

Screenshot 2024-06-06 at 12 01 28 PM

However, if I step over to the next line, the same problem shown on the first picture happens again.

I believe this behavior could be caused by the recent changes on the Debug Stack Focus API introduced on the latest VS Code release (version 1.90).

This is what my launch.json looks like:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Remote Attach",
            "type": "debugpy",
            "request": "attach",
            "connect": {
                "host": "localhost",
                "port": 5678
            },
            "pathMappings": [
                {
                    "localRoot": "${workspaceFolder}",
                    "remoteRoot": "/usr/lib/python3.9/site-packages/glideinwms"
                }
            ],
            "justMyCode": false,
            "subProcess": true
        }
    ]
}

Is this a bug, or am I missing some new configuration?

@BrunoCoimbra
Copy link
Author

Issue solved with #214433.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants