talira

MemoryView

A memory viewer panel for VS Code debug sessions, for any debugger that can read memory

open sourceMITfree

A VS Code extension that shows a program's memory while a debug session is paused, for any debugger that supports memory reads: cppdbg (the C/C++ extension), Cortex-Debug and cspy out of the box, others by setting. Give it an address or a C expression and it opens a view in a Memory panel, loading only what's on screen as you scroll, in 1, 4 or 8 byte columns, highlighting the bytes that changed since the program last resumed, and keeping views across debug sessions and restarts; several views share one panel. It began as part of Cortex-Debug. A preview; MIT licensed.

Problems it solves

  • look at raw memory while debugging C on a microcontroller in VS Code
  • see which bytes changed in a buffer after stepping through code
  • a hex memory viewer that works with my GDB debug session

Features

  • views memory by address or C expression while debugging
  • 1, 4 and 8 byte views
  • highlights bytes changed since the last resume
  • views persist across debug sessions
  • works with cppdbg, Cortex-Debug and cspy

Limitations

  • A preview: memory editing isn't finished, so edits made in a view aren't written to the program.1

Alternatives

The same job

These do what MemoryView does.

  1. RTOS Views Shows an RTOS's threads, stacks and state in VS Code while you debug a microcontroller
  2. MCU Peripheral Viewer Shows a microcontroller's peripheral registers from its SVD file while you debug in VS Code
  3. Black Magic Probe The Plug&Play MCU Debugger

Compare MemoryView with the top 3