Adding Variables to the Data View
Once you have started your program and it has stopped at a breakpoint or by using a stepping command, the Local Variables view populates with local data from whatever stack frame is selected in the Call Stack. The Source view is also refocused on the source file associated with the selected frame.
Creating a new expression allows you to manipulate your data in multiple ways in order to clearly see your data’s structure, type, and value at any given point in your program’s execution. To add expressions, i.e. variables, to the Data View, use one of these methods:
*Add to the Data View from the Local Variables View using either the context menu or by dragging and dropping.
NOTE: Because global variables are not displayed in the Local Variables view, add them to the Data View by typing them in directly. See Entering a New Expression into the Data View.