Class: ExecState

Defined in: src/exec.coffee

Overview

Class for managing target execution state.

Instance Method Summary

Instance Method Details

# (void) onFrameChanged(cb)

# (void) onStopped(cb)

# (void) onRunning(cb)

# (void) onExited(cb)

# (void) start()

# (void) continue()

Resume execution.

# (void) next()

Single step, stepping over function calls.

# (void) step()

Single step, stepping into function calls.

# (void) finish()

Resume execution until frame returns.

# (void) interrupt()

Attempt to interrupt the running target.

# (Promise) getThreads()

Read a list of threads from the target

Returns:

  • ( Promise ) — resolves to an array of thread objects

# (Promise) getFrames(thread)

Read a list of stack frames from the target

Parameters:

  • thread ( String ) Target thread identifier (optional)

Returns:

  • ( Promise ) — resolves to a list of frame objects

# (void) selectFrame(level, thread)

Select a stack frame for future operations. Emits frameChanged signal.

Parameters:

  • level ( Integer ) Stack frame level
  • thread ( String ) Target thread identifier (optional)

# (Promise) getLocals(level, thread)

Read local variables for a given frame/thread

Parameters:

  • level ( Integer ) Stack frame level (optional)
  • thread ( String ) Target thread identifier (optional)

Returns:

  • ( Promise ) — resolves to an array of objects with name and value fields

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: