Debugger: Fix handling of some actions after multiinferior split

The pattern used is some inactive/invible global action with a
command to put in the menus, and per-engine action "overloads"
to reflect the active engine's state once there is an engine.

Task-number: QTCREATORBUG-21454
Change-Id: I861a42994849ef9f0b51fb7b1608f14fa7fa9d7c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2018-11-12 12:46:33 +01:00
parent 9dc8b4626c
commit 6a043d32dc
3 changed files with 76 additions and 32 deletions

View File

@@ -59,7 +59,12 @@ const char RUNTOSELECTEDFUNCTION[] = "Debugger.RunToSelectedFunction";
const char JUMPTOLINE[] = "Debugger.JumpToLine";
const char RETURNFROMFUNCTION[] = "Debugger.ReturnFromFunction";
const char RESET[] = "Debugger.Reset";
const char WATCH[] = "Debugger.AddToWatch";
const char DETACH[] = "Debugger.Detach";
const char OPERATE_BY_INSTRUCTION[] = "Debugger.OperateByInstruction";
const char OPEN_MEMORY_EDITOR[] = "Debugger.Views.OpenMemoryEditor";
const char FRAME_UP[] = "Debugger.FrameUp";
const char FRAME_DOWN[] = "Debugger.FrameDown";
const char QML_SHOW_APP_ON_TOP[] = "Debugger.QmlShowAppOnTop";
const char QML_SELECTTOOL[] = "Debugger.QmlSelectTool";
const char QML_ZOOMTOOL[] = "Debugger.QmlZoomTool";