get_source_listing
Retrieve HLL source code listing with line numbers for a halted target. Specify an address or use current PC to see surrounding code.
Instructions
Get the source code listing around the current execution point.
Shows HLL (C/C++) source with line numbers. The target must be halted.
Args: address: Address or symbol. Empty = current PC.
Returns: Source code listing
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_source_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |