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:
parent
b5dc09c0ca
commit
28f0ba3381
7 changed files with 44 additions and 9 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue