Sun Studio 12: Debugging a Program With dbx

print Command

To print the value of the expression(s), 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.