function stepIntoNextCall
stepIntoNextCall(
argument: string
): Promise<void>

.step — run one step, entering whatever this line calls. .step 3 for three.

Stepping is also the only way INTO another frame from a breakpoint: a debugger statement inside something you CALL while stopped does nothing, because V8 disables breakpoints for the duration of a debugger evaluation.

import { stepIntoNextCall } from './frames.ts';

import type { ReplContext } from './command.ts';

// Defined, not invoked: it drives a stopped page.
function example(repl: ReplContext) {
  return stepIntoNextCall(repl, '3'); // three steps, then where that left it
}

Parameters

argument: string

Return Type

Promise<void>

Usage

import { stepIntoNextCall } from "lib/commands/repl/frames.ts";