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

Python debugger breakpoints are not working. #1630

Closed
weizjajj opened this issue Jul 19, 2024 · 2 comments
Closed

Python debugger breakpoints are not working. #1630

weizjajj opened this issue Jul 19, 2024 · 2 comments

Comments

@weizjajj
Copy link

When debugging my Python program, the first few breakpoints function properly, but subsequent breakpoints fail to work.
python_work
my launch.json

{
    // 使用 IntelliSense 了解相关属性。 
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python 调试程序: 当前文件",
            "type": "debugpy",
            "request": "launch",
            "program": "${file}",
            "console": "internalConsole",
            "cwd": "${fileDirname}",
            "justMyCode": true,
            "subProcess": true,
            "python": "${command:python.interpreterPath}",
            "env":{
                 "PYTHONPATH": "${workspaceFolder}"
            }
        }
    ]
}

python version: Python 3.11.9
Python Debugger Version: v2024.9.12001014 (pre-release)
Python: v2024.11.2024071802 (pre-release)

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Jul 19, 2024
@rchiodo
Copy link
Contributor

rchiodo commented Jul 19, 2024

I would suspect that the instance.run is never returning? Do the print statements after that point actually execute?

Copy link

This issue was closed because it has been stalled for 30 days with no activity. If the issue still persists, please reopen with the information requested. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants