Skip to main content

Module debug_drawer

Module debug_drawer 

Source
Expand description

The Studio bottom debug drawer — an IDE-style debugger for imperative (Code-mode) LOGOS, driven by the zero-cost bytecode debugger in logicaffeine_compile::debug. A self-contained, additive panel: it docks below the editor/output and slides away on Stop, leaving the rest of the Studio untouched.

Anatomy (classic IDE Debug panel): a step toolbar (Step Into / Over / Out / Continue / Step Back / Restart / Stop), a status line (state · pc · current op · step counter), and Variables / Call Stack / Breakpoints / Bytecode tabs. Breakpoints are set on the bytecode tape (this is a bytecode-level debugger — you watch the actual VM). Step Back is true time-travel, free from the debugger’s snapshot history.

Re-exports§

pub use DebugDrawer_completions::Component::DebugDrawer;

Structs§

DebugDrawerProps
Properties for the DebugDrawer component.

Constants§

IC_BUG
A ladybug glyph as inline SVG, for the Debug button + drawer title (shared with the Studio toolbar). Explicitly sized so it needs no extra CSS.

Functions§

DebugDrawer
The bottom debug drawer. source is the Code-mode program; on_close stops the session (the Studio hides the drawer).