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:

An expression should follow current language syntax, with the exception of the meta syntax that dbx introduces to deal with scope and arrays.

To evaluate a variable or expression:


print expression