← Back to HeapProfiler domain
HeapProfiler.getObjectByHeapObjectId
No description available.
Domain: HeapProfiler
experimental
Parameters
| Name | Type | Description |
objectId | HeapSnapshotObjectId | |
objectGroup (optional) | string | Symbolic group name that can be used to release multiple objects. |
Returns
| Name | Type | Description |
result | Runtime.RemoteObject | Evaluation result. |
Example Request
{
"id": 1,
"method": "HeapProfiler.getObjectByHeapObjectId",
"params": {
"objectId": "{\"injectedScriptId\":1,\"id\":1}"
}
}
Example Response
{
"id": 1,
"result": {
"result": {
"type": "string",
"value": "Example Domain"
}
}
}
Usage in Node.js
const result = await send('HeapProfiler.getObjectByHeapObjectId', {"objectId": "{\"injectedScriptId\":1,\"id\":1}"});
console.log(result);
// {"result": {"type": "string", "value": "Example Domain"}}