Displaying Program Variables
Display local and global variables using dprint:
CLI: dprint variable
This command lets you view variables and expressions without having to select or find them.
For example, dprint j returns the value of j:
j = 0x00000005 (5)
CLI: dwhere, dup, and dprint
Use dwhere to locate the stack frame, use dup to move to it, and then use dprint to display the value.