Skip to content

Conversation

@amanthatdoescares
Copy link

@amanthatdoescares amanthatdoescares commented Dec 6, 2025

Description

LLDB-DAP sometimes fails to mark breakpoints as verified in the setBreakpoints response, even though the breakpoint is hit during debugging. This leads to the VS Code UI showing the breakpoint as “unverified” while execution actually stops there.

This PR adds a safe fallback that marks breakpoints as verified when we detect them being hit via:

  • a stopped event with reason: "breakpoint", or
  • a breakpoint event containing a valid source and line.

This improves consistency between actual debugger behavior and the UI, especially for Swift executables and swift test.

Issue: #1871

Tasks

  • Required tests have been written
  • Documentation has been updated
  • Added an entry to CHANGELOG.md if applicable

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant