Runtime.getBasicBlocks

Returns a list of basic blocks for the given sourceID with information about their text ranges and whether or not they have executed.

{
  "name": "getBasicBlocks",
  "parameters": [
    {
      "name": "sourceID",
      "type": "string",
      "description": "Indicates which sourceID information is requested for."
    }
  ],
  "returns": [
    {
      "name": "basicBlocks",
      "type": "array",
      "items": {
        "$ref": "BasicBlock",
        "description": "Array of basic blocks."
      }
    }
  ],
  "description": "Returns a list of basic blocks for the given sourceID with information about their text ranges and whether or not they have executed."
}