B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Watch the given thread client.
   *
   * @param function aCallback
   *        The next function in the initialization sequence.
   */
Watch the given thread client.
@param function aCallback
The next function in the initialization sequence.
Watch the given thread client . @param function aCallback The next function in the initialization sequence .
function SF_connect(aCallback) {
    window.addEventListener("Debugger:FetchedVariables", this._onFetchedVars, false);
    this.activeThread.addListener("paused", this._onPaused);
    this.activeThread.addListener("resumed", this._onResume);
    this.activeThread.addListener("framesadded", this._onFrames);
    this.activeThread.addListener("framescleared", this._onFramesCleared);
    this._handleTabNavigation();
    this.updatePauseOnExceptions(this.pauseOnExceptions);
    aCallback && aCallback();
  }
function SF_connect ( aCallback ) { window . addEventListener ( "Debugger:FetchedVariables" , this . _onFetchedVars , false ) ; this . activeThread . addListener ( "paused" , this . _onPaused ) ; this . activeThread . addListener ( "resumed" , this . _onResume ) ; this . activeThread . addListener ( "framesadded" , this . _onFrames ) ; this . activeThread . addListener ( "framescleared" , this . _onFramesCleared ) ; this . _handleTabNavigation ( ) ; this . updatePauseOnExceptions ( this . pauseOnExceptions ) ; aCallback && aCallback ( ) ; }
Watch the given thread client.
Watch the given thread client .