4.7.1.2 View Processor Memory and Files
MPLAB for VS Code provides several windows for viewing debug information. On starting Run and Debug, the following windows will be available: variables, watches, call stack, and breakpoints. Select Trace and Live view to see Live Watch, Component viewer and Core Peripherals. See Visual Studio Code documentation for assistance in using these windows.
To access raw memory, a viewer extension is required. We recommend using Memory Inspector from Eclipse CDT Cloud.
To access non-linear memory, a concept of memory references is used.
For devices with linear memory, this is just the base address of the memory to view. For devices with non-linear memory, such as AVRs, either use a linearized address or a scoped address. To find the addressing applicable for a specific device, open the Debug Console and run
memory -references
The above command will list the base ranges for the device currently being debugged.
To list available commands, run
help -?
