Once you have started your program and then it has stopped at a breakpoint or by using a stepping command, the VAR panel populates with local data from whatever stack frame is selected in the Call Stack view. The Source view is also refocused on the source file associated with the selected frame.
To add expressions, i.e. variables, to the Data View, use one of these methods: