User guide
Nios II IDE Help System
Click the Memory tab in the upper-right pane of the Debug perspective to display the
Memory view. You can also point to Show View on the Window menu, and then click
Memory. This view displays the contents of memory.
The Memory view allows you to track multiple locations in memory without having to
continually type in addresses by hand. You can track constants and expressions, which
allows you to search for a memory location by symbolic name.
The following steps demonstrate various uses of the Memory view:
1. If the processor is running, click Thread [0] (Running) in the Debug view, and
then click Suspend.
2. In the Memory view, click Add Memory Monitor.
3. Type 0x00 and click Ok. Note the contents.
4. Right-click in the memory contents area, and click Format....
5. Select Column Size, and then click 2. Note how the display changes.
6. Click
Add Memory Monitor a second time.
7. Type &count and click Ok. This displays memory contents at the location where
variable count is stored.
8. Click on the highlighted values in the memory contents area and highlight just the
two digits representing the eight bit value for count.
9. Type a value, such as 66, and press Enter. Note the memory contents in the
Memory view and the value of count in the Variables view change.
10. Click
Add Rendering at the upper-right of the view.
11. Click ASCII and then click Ok. Note the additional tab displaying memory
contents in ASCII format.
Note: If the memory region displayed is located in read-only memory, the Nios II IDE
does not respond to attempts to edit the memory content.
Refer to Related Topics for more information about memory.
Next: Editing the Project Properties
Previous: Running the Project
Related Nios II IDE Help Topics
About Running and Debugging Projects
Instruction Set Simulator (ISS)—Contains details on the capabilities and limitations of
the ISS.
Advanced Debugging Features by FS2
Related Eclipse and CDT Help Topics
C/C++ Development User Guide > Reference > C/C++ Views and Editors > Debug
view > Debug view
C/C++ Development User Guide > Tasks > Running and Debugging > Adding
expressions
C/C++ Development User Guide > Tasks > Running and Debugging > Debugging a
program > Adding watchpoints
C/C++ Development User Guide > Tasks > Running and Debugging > Working with
24