Skip to main content

mark_debug_frame

Function mark_debug_frame 

Source
pub fn mark_debug_frame(
    state: &DebugStateRef,
    log_state: &LogStateRef,
    now_ms: f64,
    label: Option<&str>,
    channel: Option<String>,
)
Expand description

Emits a frame-boundary marker while a debug session is active (TS markDebugFrame): a Debug entry { frame: label }, or, unlabeled, the next value of the state’s ascending frame counter, which a new session does not reset. A no-op, with no counter advance, when debug is disabled.