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
|
@ -17842,6 +17842,10 @@ async fn test_breakpoint_enabling_and_disabling(cx: &mut TestAppContext) {
|
|||
editor.disable_breakpoint(&actions::DisableBreakpoint, window, cx);
|
||||
editor.move_to_end(&MoveToEnd, window, cx);
|
||||
editor.disable_breakpoint(&actions::DisableBreakpoint, window, cx);
|
||||
// Disabling a breakpoint that doesn't exist should do nothing
|
||||
editor.move_up(&MoveUp, window, cx);
|
||||
editor.move_up(&MoveUp, window, cx);
|
||||
editor.disable_breakpoint(&actions::DisableBreakpoint, window, cx);
|
||||
});
|
||||
|
||||
let breakpoints = editor.update(cx, |editor, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue