yasmin_editor.editor_gui.runtime_breakpoints module

Pure runtime-breakpoint helpers used by the editor runtime mixin.

The editor runtime mixin still owns the Qt menu and status-bar wiring, but the breakpoint path rules themselves are independent of Qt. Keeping them here makes it easier to validate breakpoint behavior without constructing editor widgets.

yasmin_editor.editor_gui.runtime_breakpoints.breakpoint_parent_path(runtime_mode_enabled: bool, current_container_path: tuple[str, ...] | list[str] | None) tuple[str, ...]

Return the runtime container path that owns visible breakpoint markers.

yasmin_editor.editor_gui.runtime_breakpoints.breakpoint_tooltip(state_path: tuple[str, ...], before_paths: Iterable[tuple[str, ...]]) str

Return the tooltip text for one breakpoint marker.

yasmin_editor.editor_gui.runtime_breakpoints.state_breakpoint_path(runtime_mode_enabled: bool, current_container_path: tuple[str, ...] | list[str] | None, state_name: object) tuple[str, ...]

Return the full runtime breakpoint path for one visible state node.

yasmin_editor.editor_gui.runtime_breakpoints.toggle_breakpoint_before(before_paths: Iterable[tuple[str, ...]], state_path: tuple[str, ...]) tuple[set[tuple[str, ...]], str]

Toggle one breakpoint path and return the updated set and action label.