B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Update the source editor's current debug location based on the selected
   * frame and script.
   */
Update the source editor's current debug location based on the selected
frame and script.
Update the source editor ' s current debug location based on the selected frame and script .
function SF_updateEditorLocation() {
    let frame = this.activeThread.cachedFrames[this.selectedFrame];
    if (!frame) {
      return;
    }
    let url = frame.where.url;
    let line = frame.where.line;
    let editor = DebuggerView.editor;
    this.updateEditorToLocation(url, line, true);
  }
function SF_updateEditorLocation ( ) { let frame = this . activeThread . cachedFrames [ this . selectedFrame ] ; if ( ! frame ) { return ; } let url = frame . where . url ; let line = frame . where . line ; let editor = DebuggerView . editor ; this . updateEditorToLocation ( url , line , true ) ; }
Update the source editor's current debug location based on the selected
 frame and script.
Update the source editor ' s current debug location based on the selected frame and script .