write_memory
Write raw base64-encoded bytes directly to a debugger memory reference, enabling low-level memory manipulation in .NET debugging. Use this to patch values or alter process state during a debug session.
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 |
|---|---|---|---|
| data | Yes | ||
| offset | No | ||
| allow_partial | No | ||
| memory_reference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||