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 SS_connect(aCallback) {
    window.addEventListener("Debugger:LoadSource", this._onLoadSource, false);
    this.debuggerClient.addListener("newScript", this._onNewScript);
    this._handleTabNavigation();
    aCallback && aCallback();
  }
function SS_connect ( aCallback ) { window . addEventListener ( "Debugger:LoadSource" , this . _onLoadSource , false ) ; this . debuggerClient . addListener ( "newScript" , this . _onNewScript ) ; this . _handleTabNavigation ( ) ; aCallback && aCallback ( ) ; }
Watch the given thread client.
Watch the given thread client .