B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Adds the specified stack frame to the list.
   *
   * @param Debugger.Frame aFrame
   *        The new frame to add.
   */
Adds the specified stack frame to the list.
@param Debugger.Frame aFrame
The new frame to add.
Adds the specified stack frame to the list . @param Debugger . Frame aFrame The new frame to add .
function SF__addFrame(aFrame) {
    let depth = aFrame.depth;
    let label = DebuggerController.SourceScripts.getScriptLabel(aFrame.where.url);
    let startText = this._getFrameTitle(aFrame);
    let endText = label + ":" + aFrame.where.line;
    let frame = DebuggerView.StackFrames.addFrame(depth, startText, endText);
    if (frame) {
      frame.debuggerFrame = aFrame;
    }
  }
function SF__addFrame ( aFrame ) { let depth = aFrame . depth ; let label = DebuggerController . SourceScripts . getScriptLabel ( aFrame . where . url ) ; let startText = this . _getFrameTitle ( aFrame ) ; let endText = label + ":" + aFrame . where . line ; let frame = DebuggerView . StackFrames . addFrame ( depth , startText , endText ) ; if ( frame ) { frame . debuggerFrame = aFrame ; } }
Adds the specified stack frame to the list.
Adds the specified stack frame to the list .