Skip to main content

IAR Embedded Workbench for RX 5.20

Editing in C-SPY windows

In this section:

You can edit the contents of these windows:

  • Memory window

  • Symbolic Memory window

  • Registers window

  • Register User Groups Setup window

  • Auto window

  • Watch window

  • Locals window

  • Statics window

  • Live Watch window

  • Quick Watch window

Use these keyboard keys to edit the contents of these windows:

Enter

Makes an item editable and saves the new value.

Esc

Cancels a new value.

In windows where you can edit the Expression field and in the Quick Watch window, you can specify the number of elements to be displayed in the field by adding a semicolon followed by an integer. For example, to display only the three first elements of an array named myArray, or three elements in sequence starting with the element pointed to by a pointer, write:

myArray;3

To display three elements pointed to by myPtr, myPtr+1, and myPtr+2, write:

myPtr;3

Optionally, add a comma and another integer that specifies which element to start with. For example, to display elements 10–14, write:

myArray;5,10

To display myPtr+10, myPtr+11, myPtr+12, myPtr+13, and myPtr+14, write:

myPtr;5,10

Note

For pointers, there are no built-in limits on displayed element count, and no validation of the pointer value.