function DC_attachThread(aThreadActor, aOnResponse) {
    let self = this;
    let packet = { to: aThreadActor, type: DebugProtocolTypes.attach };
    this.request(packet, function(aResponse) {
      if (!aResponse.error) {
        var threadClient = new ThreadClient(self, aThreadActor);
        self._threadClients[aThreadActor] = threadClient;
        self.activeThread = threadClient;
      }
      aOnResponse(aResponse, threadClient);
    });
  }
/**
   * Attach to a thread actor.
   *
   * @param string aThreadActor
   *        The actor ID for the thread to attach.
   * @param function aOnResponse
   *        Called with the response packet and a ThreadClient
   *        (which will be undefined on error).
   */
Attach to a thread actor.
@param string aThreadActor
The actor ID for the thread to attach.
@param function aOnResponse
Called with the response packet and a ThreadClient
(which will be undefined on error).
Attach to a thread actor . @param string aThreadActor The actor ID for the thread to attach . @param function aOnResponse Called with the response packet and a ThreadClient ( which will be undefined on error ) .
function DC_attachThread(aThreadActor, aOnResponse) {
    let self = this;
    let packet = { to: aThreadActor, type: DebugProtocolTypes.attach };
    this.request(packet, function(aResponse) {
      if (!aResponse.error) {
        var threadClient = new ThreadClient(self, aThreadActor);
        self._threadClients[aThreadActor] = threadClient;
        self.activeThread = threadClient;
      }
      aOnResponse(aResponse, threadClient);
    });
  }
function DC_attachThread ( aThreadActor , aOnResponse ) { let self = this ; let packet = { to : aThreadActor , type : DebugProtocolTypes . attach } ; this . request ( packet , function ( aResponse ) { if ( ! aResponse . error ) { var threadClient = new ThreadClient ( self , aThreadActor ) ; self . _threadClients [ aThreadActor ] = threadClient ; self . activeThread = threadClient ; } aOnResponse ( aResponse , threadClient ) ; } ) ; }
Attach to a thread actor.
Attach to a thread actor .