UNPKG

trepanjs

Version:

A gdb-like debugger for nodejs. It is in the style of the trepanning debuggers.

25 lines (21 loc) 524 B
"use strict"; /*================================= Debugger 'frame' command ===================================*/ function Init(intf, Interface) { intf.defineCommand('frame', { connection: true, help: "**frame** *frame-number*\n\ \n\ Change the current frame to frame *frame-number* if specified, or the current frame, 0, if\n\ no frame number specified.\n\ See also:\n\ ---------\n\ `up`, `down`", run: function(pos) { pos || (pos = 0); intf.adjustFrame(pos, true); } }); } exports.Init = Init;