Skip to content

Modifying conditional breakpoints while debugging does not work due to VSCode change #2297

@WardenGnaw

Description

@WardenGnaw

VS Code version: 1.25.1

Steps to reproduce

Create C++ project and create a conditional breakpoint that will be true. Start debugging. Once you hit the breakpoint, change it to a false statement. F5.

Expected behavior

Once it becomes a false statement, it should not hit the breakpoint.

Actual behavior

It will always hit the breakpoint due to the original condition

Issue reason:

VSCode changed how they updated breakpoints. Instead of removing then adding a new breakpoint, they use the same breakpoint id.

See: microsoft/vscode#42200

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdebuggerfixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions