Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Variables That Reflect the Current Scope

The following variables always reflect the current program counter of the current thread or LWP, and are not affected by the various commands that change the visiting scope:

$scope

Scope of the current program counter

$lineno

Current line number

$func

Current function

$class

Class to which $func belongs

$file

Current source file

$loadobj

Current load object

These variables are only useful during a live process.