lldb_watchpoint
Set watchpoints to pause program execution when specific variables are accessed, enabling precise debugging of memory interactions in C/C++ code.
Instructions
Set a watchpoint to break when a variable is accessed.
Watch types:
- 'write': Break when value is written (modified)
- 'read': Break when value is read
- 'read_write': Break on any access
Args:
params: WatchpointInput with variable and access type
Returns:
str: Confirmation of watchpoint creationInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |