Sun Studio 12 Update 1: Debugging a Program With dbx

print Command

To print the value of the expressions, type:


print expression, ...

If an expression has a function call, the same considerations apply as with the call Command command. With C++, you should also be careful of unexpected side effects caused by overloaded operators.

For more information, see print Command.