FIXED Add shortcut for step-back
@@ -1110,16 +1110,6 @@ def load_plugin() -> None:
include_in_toolbar=True,
)
- get_workbench().add_command(
- "step_back",
- "run",
- "Step back",
- lambda: _issue_debugger_command("step_back"),
- caption="Back",
- tester=lambda: _debugger_command_enabled("step_back"),
- group=30,
- )
-
get_workbench().add_command(
"step_into",
"run",
@@ -1170,6 +1160,17 @@ def load_plugin() -> None:
include_in_toolbar=False,
)
+ get_workbench().add_command(
+ "step_back",
+ "run",
+ "Step back",
+ lambda: _issue_debugger_command("step_back"),
+ caption="Back",
+ tester=lambda: _debugger_command_enabled("step_back"),
+ default_sequence=select_sequence("<Control-b>", "<Command-b>"),
+ group=30,
+ )
+
get_workbench().add_view(StackView, "Stack", "ne")
get_workbench().add_view(ExceptionView, "Exception", "s")
get_workbench().add_configuration_page("Debugger", DebuggerConfigurationPage)
