B2G/gecko/toolkit/devtools/debugger/server/dbg-script-actors.js
/**
 * Creates a ThreadActor.
 *
 * ThreadActors manage a JSInspector object and manage execution/inspection
 * of debuggees.
 *
 * @param aHooks object
 *        An object with preNest and postNest methods for calling when entering
 *        and exiting a nested event loop, as well as addToBreakpointPool and
 *        removeFromBreakpointPool methods for handling breakpoint lifetime.
 */


@param aHooks object
An object with preNest and postNest methods for calling when entering
and exiting a nested event loop, as well as addToBreakpointPool and
removeFromBreakpointPool methods for handling breakpoint lifetime.
@param aHooks object An object with preNest and postNest methods for calling when entering and exiting a nested event loop as well as addToBreakpointPool and removeFromBreakpointPool methods for handling breakpoint lifetime .
function ThreadActor(aHooks)
{
  this._state = "detached";
  this._frameActors = [];
  this._environmentActors = [];
  this._hooks = aHooks ? aHooks : {};
  this._scripts = {};
}
function ThreadActor ( aHooks ) { this . _state = "detached" ; this . _frameActors = [ ] ; this . _environmentActors = [ ] ; this . _hooks = aHooks ? aHooks : { } ; this . _scripts = { } ; }
Creates a ThreadActor.
Creates a ThreadActor .