Sun Studio 12 Update 1: Debugging a Program With dbx

Variables Outside the Scope of the Current Function

When you want to evaluate or monitor a variable outside the scope of the current function, do one of the following: