Sun Studio 12 Update 1: 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 watch facility in the IDE or dbxtool.

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