list_source
List source code in a debugging session, starting at a specified function or file:line, or continue scrolling forward with repeated calls.
Instructions
List source code (GDB 'list' / 'l').
location: function name, file:line, or omit to list around the current position. Call repeatedly with no location to scroll forward.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |