Interactive expressions can refer to variables from the debugger's current stack backtrace, simply by using their name. Before referring to a variable, you must select the stack frame that contains the variables you want to use. This is so the debugger can resolve any ambiguities arising when local variables in different stack frames have the same name.
For example, with this backtrace:
[-] go() x = 4 y = 5 [-] set() x = 30 y = 2 [-] ready()
If you select the stack frame for the call to go, evaluating the expression x + y yields the result 9. But if you select the stack frame for the call to set, evaluating the expression x + y yields the result 32.