Fix toggling breakpoints not working when text anchor isn't at start (#27249)

This fixes a bug where breakpoint's were unable to be toggled if the
text::Anchor representing the breakpoint position was not at the
beginning of a line.

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Anthony Eid 2025-03-21 11:21:05 -04:00 committed by GitHub
parent f119550838
commit 93bd32b425
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -699,7 +699,7 @@ impl WorkspaceDb {
match breakpoints {
Ok(bp) => {
if bp.is_empty() {
log::error!("Breakpoints are empty after querying database for them");
log::debug!("Breakpoints are empty after querying database for them");
}
let mut map: BTreeMap<Arc<Path>, Vec<SerializedBreakpoint>> = Default::default();