Sun Studio 12: Debugging a Program With dbx

The Java Expression Evaluation in dbx Commands

The Java expression evaluator used in most dbx commands supports the following constructs:

The Java expression evaluator does not support the following constructs:

A particularly useful way of inspecting the state of your Java application is using the display facility in the dbx Debugger.

Depending on precise value semantics in expressions that do more than just inspect data is not recommended.