Window»Memory

The Memory command opens the Memory Display window in which you can view and edit the memory of the program you are debugging. Use this window to view and edit the data in hexadecimal (byte, word, long), decimal (byte, word, long), single-precision floating point, double-precision floating point, or ASCII representation. The Memory Display window displays values in red text if the variable value changed from the last time the program was suspended.

You can drop variables onto the Memory Display window. To drop variables onto the Memory Display window, select the variable you want to view from the Source, Interactive Execution, Variables and Call Stack, or Watch window and drop it onto the Memory Display window.

Right-click the Memory Display window to access the following menu items:

  • Go to—Provides the following commands:
    • Previous Address/Next Address—Moves the selection back and forth through the list of previously selected addresses. The address history holds up to 50 addresses.
    • This Address—Moves the selection to the address listed in the current selection. This option is available only for pointers. You must select Hex Longs as the Format to use this command.

  • Format—Specifies the format in which to view and edit the data.
    Note Note  LabWindows/CVI displays the contents of memory in accordance with the C data type that corresponds to each format. Therefore, in integer formats, LabWindows/CVI applies the native endianess of integers.
  • Edit Mode—Enable this option to modify the process memory. To change the value of a memory location, click that cell in the Memory Display window and type the new value.
  • Add Memory Watch Expression—Adds a memory-specific watch expression to the Watch window. The name of the watch expression follows the following format: __memory (address, size). If the memory you select is not contiguous, LabWindows/CVI dims this option.
  • Release/Confine Window—Releases the window from the Debugging Region if confined. Confines the window into the Debugging Region if released.

Right-clicking on the tab of the Memory Display window displays the context menu with the following options:

  • Close—Closes the window.
  • Release Window—Removes the window from the Debugging Region.

WAS THIS ARTICLE HELPFUL?

Not Helpful