Examine pointers

You can examine pointer contents by clicking the + next to the variable or expression. This expands the item and dereferences the pointer.

In the Evaluate window, you can also use the View As –> Vector, Get Address, and Dereference Pointer menu items:

  • Dereference Pointer wraps the expression in *().

  • Get Address strips a single layer of *() from the expression (if one exists).

  • Both Get Address and Dereference Pointer only support raw pointers and not other pointer implementations, such as, C++11 smart pointers.

See also Multi-Dimensional Array Viewer (MDA).