mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 01:09:35 +02:00
Ide: moved "Debug Inspect" to View > Debug Windows
This commit is contained in:
parent
f75c120bdb
commit
76d90cf133
@ -2295,9 +2295,6 @@ begin
|
||||
itmRunMenuEvaluate.Enabled := CanRun and (dcEvaluate in AvailCommands);
|
||||
// Evaluate / modify
|
||||
SrcEditMenuEvaluateModify.Enabled := CanRun and (dcEvaluate in AvailCommands);
|
||||
// Inspect
|
||||
SrcEditMenuInspect.Enabled := CanRun and (dcEvaluate in AvailCommands);
|
||||
itmRunMenuInspect.Enabled := CanRun and (dcEvaluate in AvailCommands);
|
||||
// Add watch
|
||||
itmRunMenuAddWatch.Enabled := True; // always allow to add a watch
|
||||
|
||||
|
@ -189,6 +189,7 @@ type
|
||||
itmViewWatches: TIDEMenuCommand;
|
||||
itmViewBreakpoints: TIDEMenuCommand;
|
||||
itmViewLocals: TIDEMenuCommand;
|
||||
itmRunMenuInspect: TIDEMenuCommand;
|
||||
itmViewRegisters: TIDEMenuCommand;
|
||||
itmViewCallStack: TIDEMenuCommand;
|
||||
itmViewThreads: TIDEMenuCommand;
|
||||
@ -315,7 +316,6 @@ type
|
||||
itmRunMenuRunFile: TIDEMenuCommand;
|
||||
itmRunMenuConfigBuildFile: TIDEMenuCommand;
|
||||
//itmRunDebugging: TIDEMenuSection;
|
||||
itmRunMenuInspect: TIDEMenuCommand;
|
||||
itmRunMenuEvaluate: TIDEMenuCommand;
|
||||
itmRunMenuAddWatch: TIDEMenuCommand;
|
||||
//itmRunMenuAddBreakpoint: TIDEMenuSection;
|
||||
|
@ -1124,6 +1124,7 @@ begin
|
||||
CreateMenuItem(itmViewDebugWindows,itmViewWatches,'itmViewWatches',lisMenuViewWatches,'debugger_watches');
|
||||
CreateMenuItem(itmViewDebugWindows,itmViewBreakPoints,'itmViewBreakPoints',lisMenuViewBreakPoints,'debugger_breakpoints');
|
||||
CreateMenuItem(itmViewDebugWindows,itmViewLocals,'itmViewLocals',lisMenuViewLocalVariables);
|
||||
CreateMenuItem(itmViewDebugWindows,itmRunMenuInspect,'itmRunMenuInspect',lisMenuInspect, 'debugger_inspect');
|
||||
if HasConsoleSupport then
|
||||
CreateMenuItem(itmViewDebugWindows,itmViewPseudoTerminal,'itmViewPseudoTerminal',lisMenuViewPseudoTerminal)
|
||||
else
|
||||
@ -1317,7 +1318,6 @@ begin
|
||||
|
||||
CreateMenuSeparatorSection(mnuRun,itmRunDebugging,'itmRunDebugging');
|
||||
ParentMI:=itmRunDebugging;
|
||||
CreateMenuItem(ParentMI,itmRunMenuInspect,'itmRunMenuInspect',lisMenuInspect, 'debugger_inspect', False);
|
||||
CreateMenuItem(ParentMI,itmRunMenuEvaluate,'itmRunMenuEvaluate',lisMenuEvaluate, 'debugger_modify', False);
|
||||
CreateMenuItem(ParentMI,itmRunMenuAddWatch,'itmRunMenuAddWatch',lisMenuAddWatch, '', False);
|
||||
CreateMenuSubSection(ParentMI,itmRunMenuAddBreakpoint,'itmRunMenuAddBreakpoint',lisMenuAddBreakpoint, '');
|
||||
|
@ -1791,7 +1791,6 @@ begin
|
||||
'Add Watch at Cursor', uemAddWatchPointAtCursor);
|
||||
SrcEditMenuInspect:=RegisterIDEMenuCommand(AParent,
|
||||
'Inspect...', uemInspect, nil, nil, nil, 'debugger_inspect');
|
||||
SrcEditMenuInspect.Enabled:=False;
|
||||
SrcEditMenuStepToCursor:=RegisterIDEMenuCommand(AParent,
|
||||
'Run to cursor', lisMenuStepToCursor, nil, nil, nil, 'menu_step_cursor');
|
||||
SrcEditMenuRunToCursor:=RegisterIDEMenuCommand(AParent,
|
||||
|
Loading…
Reference in New Issue
Block a user