The Atmel Studio debugger includes expression evaluators that work when you enter an expression in the the section called “QuickWatch and Watches”, the section called “Memory View”, the section called “Watch window”, or Immediate window. The expression evaluators are also at work in the Breakpoints window and many other places in the debugger.

General Syntax:

Val, formatString

Format Specifier for values

The following tables show the format specifiers recognized by the debugger.


Size Specifier for Pointers as Arrays

If you have a pointer to an object you want to view as an array, you can use an integer to specify the number of array elements:

ptr,10 or array,20

Memory type specifier

The following memory type specifiers will force the memory reference to a specific memory type. To be used in the memory window in the address field, you should have a pointer to an object, you want to view as an array. You can use an integer to specify the number of the array elements: