Class: ExecState
| Defined in: | src/exec.coffee |
Overview
Class for managing target execution state.
Instance Method Summary
- # (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
- # (Promise) getFrames(thread) Read a list of stack frames from the target
- # (void) selectFrame(level, thread) Select a stack frame for future operations.
- # (Promise) getLocals(level, thread) Read local variables for a given frame/thread
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
#
(Promise)
getFrames(thread)
Read a list of stack frames from the target
#
(void)
selectFrame(level, thread)
Select a stack frame for future operations. Emits frameChanged signal.
#
(Promise)
getLocals(level, thread)
Read local variables for a given frame/thread