godotengine / godotengine/godot-vscode-plugin

Removing breakpoints in VSCode doesn't work

Open
#518 12 comments 0 reactions 0 assignees View on GitHub
bug confirmed debugger
Dominant language
TypeScript
Stars
2.1k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

### Godot version

4.1.1

### VS Code version

1.83.1

### Godot Tools VS Code extension version

1.3.1

### System information

Windows 10

### Issue description

Adding breakpoints on VSCode correctly adds breakpoints in Godot and the game stops at the correct place when running through VSCode, but removing breakpoints on VSCode doesn't work sometimes: The game pauses in the line that was previously set as a breakpoint, and the breakpoint still shows in the Godot editor.

Saving the file after removing the breakpoint _sometimes_ removes the breakpoints, but not always.

### Steps to reproduce

1. Add a breakpoint through VSCode
2. Run the game through VSCode, the game should stop at that breakpoint
3. Remove the breakpoint through VSCode
4. Run the game again through VSCode, the game should stop again at that breakpoint (at this point you can check the Godot editor and the breakpoint will still be there)

or:

1. Add a breakpoint through VSCode
2. Run the game through VSCode, the game should stop at that breakpoint
3. Remove the breakpoint through VSCode, and save the file (I usually save with the shortcut Ctrl+S)
4. Run the game again through VSCode, the game should _not_ stop again at that breakpoint. (at this point you can check the Godot editor and the breakpoint will be removed)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.