The view command opens a data explorer to display an item. You can monitor an item and modify it, if it is a changeable variable (as opposed to a constant). The different items you can view are the following:
View items | |
Command | Description |
view expr |
Opens a data explorer displaying the given expression. |
view type |
Opens a data explorer displaying the given type. This is useful for viewing items in a structure or class. |
view $locals$ |
Displays all local variables in the current scope. |
view filename |
Displays all procedures and any special variables in the given file. |
view *address |
Opens a data explorer displaying the contents of the given location in memory. An asterisk (*) must be in front of the viewed address. See also
"Data explorers with an infinite view". |