Skip to content

Trouble removing breakpoint during debug session #98

@DonJayamanne

Description

@DonJayamanne

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-debuggingbugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions