« ADF BC: Making Your Application Module Activation-Safe | Main | JHeadstart 10.1.3 Service Update 1 Available »

ADF BC: Inspecting View Row Data in JDeveloper 10.1.3 Debugger

When you use the JDeveloper 10.1.3 Debugger you get a Data tab where
you can see the values of local variables at the breakpoint. If one of
the local variables is a View Row (a ViewRowImpl class), this blog
describes how to inspect the underlying data of the row without having
to code getters for each attribute. Assuming that the attributes are
mapped to Entity attributes, you can open the ViewRowImpl instance, and
drill down using the following steps:


  • mInner

  • mRows

  • [0] (assuming you want to see the data of the first mapped Entity, otherwise you can choose [1], [2], etc)

  • mData

  • mStorage

Inspect a ViewRowImpl in JDeveloper debug mode: Inspect a ViewRowImpl in JDeveloper debug mode



Now you see the values of all underlying entity attributes in the [0], [1], [2], etc under mStorage.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)