Interface IDebugger

An interface describing an application's visual debugger.

Hierarchy

  • IDebugger

Properties

Get debugger config.

eventMessage: ISignal<IDebugger, Event>

Signal emitted for debug event messages.

isStarted: boolean

Whether the current debugger is started.

model: IService

The debugger service's model.

pauseOnExceptionChanged: Signal<IDebugger, void>

A signal emitted when the pause on exception filter changes.

session: ISession

The current debugger session.

sessionChanged: ISignal<IDebugger, ISession>

Signal emitted upon session changed.

Methods

  • Removes all the breakpoints from the current notebook or console

    Returns Promise<void>

  • Continues the execution of the current thread.

    Returns Promise<void>

  • Request to set a variable in the global scope.

    Parameters

    • name: string

      The name of the variable.

    Returns Promise<void>

  • Requests all the defined variables and display them in the table view.

    Returns Promise<void>

  • Requests all the loaded modules and display them.

    Returns Promise<void>

  • Evaluate an expression.

    Parameters

    • expression: string

    Returns Promise<{
        indexedVariables?: number;
        memoryReference?: string;
        namedVariables?: number;
        presentationHint?: VariablePresentationHint;
        result: string;
        type?: string;
        variablesReference: number;
    }>

  • Computes an id based on the given code.

    Parameters

    • code: string

    Returns string

  • Get the debugger state

    Returns State

    Debugger state

  • Retrieve the content of a source file.

    Parameters

    • source: Source

      The source object containing the path to the file.

    Returns Promise<Source>

  • Whether there exist a thread in stopped state.

    Returns boolean

  • Request rich representation of a variable.

    Parameters

    • variableName: string

      The variable name to request

    • Optional frameId: number

      The current frame id in which to request the variable

    Returns Promise<IRichVariable>

    The mime renderer data model

  • Request variables for a given variable reference.

    Parameters

    • variablesReference: number

      The variable reference to request.

    Returns Promise<Variable[]>

  • Request whether debugging is available for the given session connection.

    Parameters

    Returns Promise<boolean>

  • Makes the current thread run again for one step.

    Returns Promise<void>

  • Makes the current thread pause if possible.

    Returns Promise<void>

  • Send the pauseOnExceptions' filters to the debugger.

    Parameters

    • exceptionFilter: string[]

    Returns Promise<void>

  • Add a filter to pauseOnExceptionsFilter.

    Parameters

    • exceptionFilter: string

      filter name.

    Returns Promise<void>

  • Used to determine if kernel has pause on exception capabilities

    Returns boolean

  • Restart the debugger. Precondition: isStarted

    Returns Promise<void>

  • Restore the debugger state

    Parameters

    • state: State

      Debugger state

    Returns Promise<boolean>

    Whether the state has been restored successfully or not

  • Restore the state of a debug session.

    Parameters

    • autoStart: boolean

      when true, starts the debugger if it has not been started yet.

    Returns Promise<void>

  • Starts a debugger. Precondition: !isStarted

    Returns Promise<void>

  • Makes the current thread step in a function / method if possible.

    Returns Promise<void>

  • Makes the current thread step out a function / method if possible.

    Returns Promise<void>

  • Stops the debugger. Precondition: isStarted

    Returns Promise<void>

  • Update all breakpoints of a cell at once.

    Parameters

    • code: string

      The code in the cell where the breakpoints are set.

    • breakpoints: IBreakpoint[]

      The list of breakpoints to set.

    • Optional path: string

      Optional path to the file where to set the breakpoints.

    Returns Promise<void>

Generated using TypeDoc