Debugger: Add delete breakpoint to context menu.

This commit is contained in:
Unknown W. Brackets 2023-04-08 23:29:59 -07:00
parent 6df939034a
commit f708ab2965
3 changed files with 6 additions and 1 deletions

View File

@ -614,6 +614,9 @@ void CtrlBreakpointList::showBreakpointMenu(int itemIndex, const POINT &pt)
if (bpw.exec()) bpw.addBreakpoint();
}
break;
case ID_DISASM_DELETEBREAKPOINT:
removeBreakpoint(itemIndex);
break;
}
}
}

View File

@ -735,6 +735,7 @@ BEGIN
BEGIN
MENUITEM "Enable", ID_DISASM_DISABLEBREAKPOINT
MENUITEM "Edit", ID_DISASM_EDITBREAKPOINT
MENUITEM "Delete", ID_DISASM_DELETEBREAKPOINT
MENUITEM SEPARATOR
MENUITEM "Add New", ID_DISASM_ADDNEWBREAKPOINT
END

View File

@ -335,6 +335,7 @@
#define ID_GEDBG_TRACK_PIXEL 40226
#define ID_GEDBG_TRACK_PIXEL_STOP 40227
#define ID_DISASM_NOPINSTRUCTION 40228
#define ID_DISASM_DELETEBREAKPOINT 40230
// Dummy option to let the buffered rendering hotkey cycle through all the options.
@ -348,7 +349,7 @@
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 256
#define _APS_NEXT_COMMAND_VALUE 40228
#define _APS_NEXT_COMMAND_VALUE 40231
#define _APS_NEXT_CONTROL_VALUE 1202
#define _APS_NEXT_SYMED_VALUE 101
#endif