Dereferencing a Pointer |
In a Current Value pop-up window for a class object, a struct or an array, you can choose to keep the window containing the original pointer.
The Undisplay on dereference option is available from the SubDisplay menu of the Current Value window. You open the pop-up menu by placing the pointer anywhere within the window and pressing the right mouse button.
If the Current Value window shows:
anobj = {p = 0x0fe025}
and Undisplay on dereference is checked, clicking the pointer hot-link 0x0fe025 causes anobj to be undisplayed and replaced by the Data Display window showing:
*anobj.p = "abc"
If the value of *anobj.p is a struct or array with a Current Value pop-up window open, its pop-up window takes the place of the previous pop-up window to replace the undisplayed anobj.
If you turn off Undisplay on dereference, then both anobj and *anobj.p show in the main window. If both are displayed in pop-up windows, both pop-up windows are kept open.