Working with memory
You can inspect and change process memory.
The Memory view supports the same addressing as the C language. You
can address memory using expressions such as:
You can configure your output to display hexadecimal or decimal. You can also
set the number of display columns and the memory unit size. You can configure
each memory tab independently.
You can customize the Memory view to colors and fonts displayed. You can also customize some of its behavior. The customizations affect
the entire Memory view.
To change process memory:
Warning: Changing process memory can cause a program to crash.
- In the Debug view, select a process. Selecting a thread
automatically selects the associated process.
- In the Memory view, click a memory tab.
- Do one of the following:
- In the Address box, type an address and press Enter.
- In the memory view, type a new value for memory. The Memory
view works in "typeover" mode. To jump from byte to byte use the arrow keys:
To change the appearance of the Memory view:
- Do one of the following:
- In the Memory view, click one of the tabs.
- Click Window > Preferences.
- In list of memory addresses, right-click, and select:
- Format > Hexadecimal, Signed Decimal or Unsigned Decimal.
- Memory Unit Size > 1, 2, 4, or 8 bytes
- Number of Columns > 1, 2, 4, 8, or 16 columns.
C/C++ Development perspective
Debugging
Debug views