From @gpassero on April 1, 2017 14:26
Environment data
VS Code version: 1.10.2
Python Extension version: 0.6.0
Python Version: 3.5
OS and version: Windows 10
Actual behavior
Debugger stops on breakpoints I have removed/disabled.
Expected behavior
Debugger doesn't stop on removed breakpoints.
Steps to reproduce:
- Put a breakpoint on the code (preferably inside a for loop)
- Start debugging and wait until the runner stops on the breakpoint
- Remove the breakpoints
- Continue the debugger
The problem also happens on breakpoints I add during a debugging session.
Settings
Your launch.json (if dealing with debugger issues):
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${config.python.pythonPath}",
"program": "${file}",
"cwd": "${workspaceRoot}",
"env": null,
"envFile": "${workspaceRoot}/.env",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput",
"BreakOnSystemExitZero"
]
},
Your settings.json:
{
"editor.rulers": [120],
"python.linting.pylintArgs": [
"--max-line-length=120"
],
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 120,
"window.zoomLevel": 0,
"files.trimTrailingWhitespace": true,
"python.autoComplete.extraPaths": [
],
"workbench.colorTheme": "Monokai",
"workbench.iconTheme": "vscode-icons",
"window.menuBarVisibility": "default",
"editor.renderControlCharacters": false,
"files.autoSave": "afterDelay"
}
Logs
Output from Python output panel
Output from Console window (Help->Developer Tools menu)
Copied from original issue: DonJayamanne/pythonVSCode#857
From @gpassero on April 1, 2017 14:26
Environment data
VS Code version: 1.10.2
Python Extension version: 0.6.0
Python Version: 3.5
OS and version: Windows 10
Actual behavior
Debugger stops on breakpoints I have removed/disabled.
Expected behavior
Debugger doesn't stop on removed breakpoints.
Steps to reproduce:
The problem also happens on breakpoints I add during a debugging session.
Settings
Your launch.json (if dealing with debugger issues):
{ "name": "Python", "type": "python", "request": "launch", "stopOnEntry": false, "pythonPath": "${config.python.pythonPath}", "program": "${file}", "cwd": "${workspaceRoot}", "env": null, "envFile": "${workspaceRoot}/.env", "debugOptions": [ "WaitOnAbnormalExit", "WaitOnNormalExit", "RedirectOutput", "BreakOnSystemExitZero" ] },Your settings.json:
{ "editor.rulers": [120], "python.linting.pylintArgs": [ "--max-line-length=120" ], "editor.wordWrap": "wordWrapColumn", "editor.wordWrapColumn": 120, "window.zoomLevel": 0, "files.trimTrailingWhitespace": true, "python.autoComplete.extraPaths": [ ], "workbench.colorTheme": "Monokai", "workbench.iconTheme": "vscode-icons", "window.menuBarVisibility": "default", "editor.renderControlCharacters": false, "files.autoSave": "afterDelay" }Logs
Output from
Pythonoutput panelOutput from
Console window(Help->Developer Tools menu)Copied from original issue: DonJayamanne/pythonVSCode#857