circu.js
    Preparing search index...

    Namespace CModuleDebug

    Native debug module — QuickJS debugger primitives + cross-thread DebugChannel.

    Reviewed final definitions. Notes vs. the previous draft:

    • getFrameInfo is now declared (was missing).
    • Frame info uses the key column (not col).
    • STEP_* constants are actually exported by the native module now.
    • EV_PAUSED / EV_RESUMED event-type constants added for notify().
    • DebugChannelMain.waitRequest() returns a discriminated union (inspect | resume), never raw control messages.
    • waitRequest() throws InternalError (EAGAIN) when stop() is called.

    Interfaces

    DebugChannelMain
    DebugChannelPair
    DebugChannelWorker

    Type Aliases

    BreakCallback

    Variables

    BREAKPOINT
    DEBUGGER
    DEBUGGER_STMT
    EV_PAUSED
    EV_RESUMED
    EXCEPTION
    EXCEPTION_ALL
    EXCEPTION_CAUGHT
    EXCEPTION_NONE
    EXCEPTION_UNCAUGHT
    INTERRUPT
    REQ_INSPECT
    REQ_RESUME
    RES_EVENT
    RES_REPLY
    STATE_IDLE
    STATE_PAUSED
    STATE_RUNNING
    STEP
    STEP_INTO
    STEP_NONE
    STEP_OUT
    STEP_OVER

    Functions

    addBreakpoint
    clearBreakpoints
    createDebugChannel
    evalInFrame
    getDebugChannel
    getFrameInfo
    getLocalVariables
    getStackDepth
    removeBreakpoint
    setExceptionBreakpoint
    setVariable
    start
    step
    stop