step.debug_break¶
Classes¶
Step-level debug-break marker. |
Functions¶
|
Create a debug-break marker step. |
Module Contents¶
- class step.debug_break.DebugBreakStep(label: str | None = None)¶
Bases:
raccoon.ui.UIStepStep-level debug-break marker.
Behaviour depends on the global
--debugflag (LIBSTP_DEBUG=1, set byraccoon run --debug):Debug mode on — pauses the mission and waits for a hardware button press before continuing, like an interactive breakpoint.
Debug mode off — emits a single log line and returns immediately, so the step is effectively a no-op in normal runs.
- step.debug_break.debug_break(label: str | None = None) DebugBreakStep¶
Create a debug-break marker step.
In debug mode (
raccoon run --debug) the step pauses the mission and waits for a hardware button press. Without--debugit logs a line and returns immediately.- Parameters:
label – Optional label included in the debug-break log message and the on-screen prompt.