Debugger: Basic breakpoint improvements (#27687)

This PR does three things

- Right clicking within the gutter outside of the gutter fold area
bounds opens a breakpoint context menu
- Disabled breakpoints are now outline with the debugger accent color
instead of being fully colored at half opacity
- Clicking a breakpoint acts differently now
- Clicking a breakpoint while holding the platform modifier key will
disable/enable it
- Clicking a breakpoint hint while holding the platform modifier key
will set a disabled breakpoint
- Clicking a disabled breakpoint will enable it instead of deleting it

Release Notes:

- N/A
This commit is contained in:
Anthony Eid 2025-03-28 15:55:09 -04:00 committed by GitHub
parent b5dc09c0ca
commit 28f0ba3381
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 44 additions and 9 deletions

View file

@ -268,7 +268,8 @@ impl BreakpointStore {
bp.state = BreakpointState::Enabled;
}
} else {
log::error!("Attempted to invert a breakpoint's state that doesn't exist ");
breakpoint.1.state = BreakpointState::Disabled;
breakpoint_set.breakpoints.push(breakpoint.clone());
}
}
BreakpointEditAction::EditLogMessage(log_message) => {