← Back to Debugger domain
Debugger.nextWasmDisassemblyChunk
Disassemble the next chunk of lines for the module corresponding to the
stream. If disassembly is complete, this API will invalidate the streamId
and return an empty chunk. Any subsequent calls for the now invalid stream
will return errors.
Domain: Debugger
experimental
Parameters
| Name | Type | Description |
streamId | string | |
Returns
| Name | Type | Description |
chunk | WasmDisassemblyChunk | The next chunk of disassembly. |
Example Request
{
"id": 1,
"method": "Debugger.nextWasmDisassemblyChunk",
"params": {
"streamId": "streamId-value"
}
}
Example Response
{
"id": 1,
"result": {
"chunk": "chunk-value"
}
}
Usage in Node.js
const result = await send('Debugger.nextWasmDisassemblyChunk', {"streamId": "streamId-value"});
console.log(result);
// {"chunk": "chunk-value"}