function TC_eval(aFrame, aExpression, aOnResponse) {
    this._assertPaused("eval");

    // Put the client in a tentative "resuming" state so we can prevent
    // further requests that should only be sent in the paused state.
    this._state = "resuming";

    let self = this;
    let request = { to: this._actor, type: DebugProtocolTypes.clientEvaluate,
                    frame: aFrame, expression: aExpression };
    this._client.request(request, function(aResponse) {
      if (aResponse.error) {
        // There was an error resuming, back to paused state.
        self._state = "paused";
      }

      if (aOnResponse) {
        aOnResponse(aResponse);
      }
    });
  }
/**
   * Send a clientEvaluate packet to the debuggee. Response
   * will be a resume packet.
   *
   * @param string aFrame
   *        The actor ID of the frame where the evaluation should take place.
   * @param string aExpression
   *        The expression that will be evaluated in the scope of the frame
   *        above.
   * @param function aOnResponse
   *        Called with the response packet.
   */
Send a clientEvaluate packet to the debuggee. Response
will be a resume packet.

@param string aFrame
The actor ID of the frame where the evaluation should take place.
@param string aExpression
The expression that will be evaluated in the scope of the frame
above.
@param function aOnResponse
Called with the response packet.
Send a clientEvaluate packet to the debuggee . Response will be a resume packet . @param string aFrame The actor ID of the frame where the evaluation should take place . @param string aExpression The expression that will be evaluated in the scope of the frame above . @param function aOnResponse Called with the response packet .
function TC_eval(aFrame, aExpression, aOnResponse) {
    this._assertPaused("eval");
    this._state = "resuming";
    let self = this;
    let request = { to: this._actor, type: DebugProtocolTypes.clientEvaluate,
                    frame: aFrame, expression: aExpression };
    this._client.request(request, function(aResponse) {
      if (aResponse.error) {
        self._state = "paused";
      }
      if (aOnResponse) {
        aOnResponse(aResponse);
      }
    });
  }
function TC_eval ( aFrame , aExpression , aOnResponse ) { this . _assertPaused ( "eval" ) ; this . _state = "resuming" ; let self = this ; let request = { to : this . _actor , type : DebugProtocolTypes . clientEvaluate , frame : aFrame , expression : aExpression } ; this . _client . request ( request , function ( aResponse ) { if ( aResponse . error ) { self . _state = "paused" ; } if ( aOnResponse ) { aOnResponse ( aResponse ) ; } } ) ; }
Send a clientEvaluate packet to the debuggee.
Send a clientEvaluate packet to the debuggee .
// Put the client in a tentative "resuming" state so we can prevent // further requests that should only be sent in the paused state. // There was an error resuming, back to paused state.