f
frameTable(): string
frames: readonly Repl.Frame[],
palette: Theme
The stack as gdb prints one: newest first, numbered from where it stopped, with a mark on the
frame being read. What .backtrace prints, and the sibling of scopeTable.
f
goBackToCallerFrame(): Promise<void>
repl: ReplContext,
argument: string
.back — the same move as .up, under the word a hand reaches for.
f
goToCalleeFrame(): Promise<void>
repl: ReplContext,
argument: string
.down — read the frame this one called, back toward where the page actually stopped.
f
goToCallerFrame(): Promise<void>
repl: ReplContext,
argument: string
.up — read the frame that called this one. .up 2 for its caller's caller.
f
sayWhichFrame(): Promise<void>
repl: ReplContext,
argument: string
.here — say which frame is being read, and go nowhere.
f
showFrameSource(repl: ReplContext): Promise<void>
The source around wherever the page is stopped, drawn under whatever announced the stop.
f
stepIntoNextCall(): Promise<void>
repl: ReplContext,
argument: string
.step — run one step, entering whatever this line calls. .step 3 for three.
f
stepOutOfThisFrame(): Promise<void>
repl: ReplContext,
argument: string
.finish — run until this frame returns, and stop in whoever called it.
f
stepOverNextCall(): Promise<void>
repl: ReplContext,
argument: string
.next — run one step, letting the next call run rather than entering it.
Usage
import * as mod from "lib/commands/repl/frames.ts";