Show All/Selected Local Variables



Application
Accessing ALL Local Variables
The upper left icon in the Variables window controls the range of local variables being displayed. Clicking on this icon will toggle the window from displaying all the local variables in a particular function, or a specific range of variables. When the icon displays a set of curly braces "
The debug session must be paused within a function in order to see the local variables with just the Variables window. Please note the green bar is paused within the function foo() in the image on the right.
Accessing Local Variables At PC Level And Line Above
Occasionally you will find too many variables within the current frame to easily view. The Variables window allows you to view the variables "near" the current Program Counter location. By near, it is meant that you can view any local variable in the line pointed to by the Program Counter and the line immediately before it. This will allow you to set breakpoints and see just the local variables' values as they are accessed by the program. To set the Variables window to display only variables near the program counter, push the top most control icon
