B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Connect to the current thread client.
   *
   * @param function aCallback
   *        The next function in the initialization sequence.
   */
Connect to the current thread client.
@param function aCallback
The next function in the initialization sequence.
Connect to the current thread client . @param function aCallback The next function in the initialization sequence .
function TS_connect(aCallback) {
    this.activeThread.addListener("paused", this._update);
    this.activeThread.addListener("resumed", this._update);
    this.activeThread.addListener("detached", this._update);
    this._handleTabNavigation();
    aCallback && aCallback();
  }
function TS_connect ( aCallback ) { this . activeThread . addListener ( "paused" , this . _update ) ; this . activeThread . addListener ( "resumed" , this . _update ) ; this . activeThread . addListener ( "detached" , this . _update ) ; this . _handleTabNavigation ( ) ; aCallback && aCallback ( ) ; }
Connect to the current thread client.
Connect to the current thread client .