Debugger.evaluateOnCallFrame

Evaluates expression on a given call frame.

{
  "name": "evaluateOnCallFrame",
  "parameters": [
    {
      "name": "callFrameId",
      "$ref": "CallFrameId",
      "description": "Call frame identifier to evaluate on."
    },
    {
      "name": "expression",
      "type": "string",
      "description": "Expression to evaluate."
    },
    {
      "name": "objectGroup",
      "type": "string",
      "optional": true,
      "description": "String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup)."
    },
    {
      "name": "includeCommandLineAPI",
      "type": "boolean",
      "optional": true,
      "description": "Specifies whether command line API should be available to the evaluated expression, defaults to false."
    },
    {
      "name": "silent",
      "type": "boolean",
      "optional": true,
      "description": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state."
    },
    {
      "name": "returnByValue",
      "type": "boolean",
      "optional": true,
      "description": "Whether the result is expected to be a JSON object that should be sent by value."
    },
    {
      "name": "generatePreview",
      "type": "boolean",
      "optional": true,
      "experimental": true,
      "description": "Whether preview should be generated for the result."
    }
  ],
  "returns": [
    {
      "name": "result",
      "$ref": "Runtime.RemoteObject",
      "description": "Object wrapper for the evaluation result."
    },
    {
      "name": "exceptionDetails",
      "$ref": "Runtime.ExceptionDetails",
      "optional": true,
      "description": "Exception details."
    }
  ],
  "description": "Evaluates expression on a given call frame."
}