write_memory
Write base64-encoded data to a debugger memory reference at a specified offset, with an option for partial writes. Use to modify process memory during debugging.
Instructions
Write base64-encoded bytes to a debugger memoryReference.
DESTRUCTIVE: this mutates debuggee memory and can corrupt process state. Capability-gated: current netcoredbg builds usually return an unsupported error unless they advertise supportsWriteMemoryRequest.
Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.
Args: memory_reference: DAP memoryReference from a variable or stack frame data: Base64-encoded bytes to write offset: Byte offset from the memory reference allow_partial: Let the adapter perform a partial write if needed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_reference | Yes | ||
| data | Yes | ||
| offset | No | ||
| allow_partial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||