Skip to content

Commit

Permalink
Add TTD actions into the debugger menu. Fix #606
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed Aug 5, 2024
1 parent 7460d03 commit 96cd540
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ void GlobalDebuggerUI::SetupMenu(UIContext* context)
controller->GoReverse();
},
connectedAndStoppedWithTTD));
debuggerMenu->addAction("Go Backwards", "Control Backwards");

UIAction::registerAction("Step Into", QKeySequence(Qt::Key_F7));
context->globalActions()->bindAction("Step Into",
Expand Down Expand Up @@ -450,6 +451,7 @@ void GlobalDebuggerUI::SetupMenu(UIContext* context)
controller->StepIntoReverse(graphType);
},
connectedAndStoppedWithTTD));
debuggerMenu->addAction("Step Into Backwards", "Control Backwards");

UIAction::registerAction("Step Over", QKeySequence(Qt::Key_F8));
context->globalActions()->bindAction("Step Over",
Expand Down Expand Up @@ -485,6 +487,7 @@ void GlobalDebuggerUI::SetupMenu(UIContext* context)
controller->StepOverReverse(graphType);
},
connectedAndStoppedWithTTD));
debuggerMenu->addAction("Step Over Backwards", "Control Backwards");

UIAction::registerAction("Step Return", QKeySequence(Qt::ControlModifier | Qt::Key_F9));
context->globalActions()->bindAction("Step Return",
Expand Down Expand Up @@ -514,6 +517,7 @@ void GlobalDebuggerUI::SetupMenu(UIContext* context)
controller->StepReturnReverse();
},
connectedAndStoppedWithTTD));
debuggerMenu->addAction("Step Return Backwards", "Control Backwards");

UIAction::registerAction("Detach");
context->globalActions()->bindAction("Detach",
Expand Down

0 comments on commit 96cd540

Please sign in to comment.