09 January 2011

Watch the data of a Row in the debugger

During development your logic in the EntityImpl of your Entity or the ViewRowImpl of your VO,  if you want to check all the values of the other attributes of the current row, there is no need to output them with log msgs or sops.  You have to just put a Breakpoint in the desired point in the above classes  and check the following paths in the Data pane of JDeveloper:

For EntityImpl:
  • this
    • mData
      • mStorage
        • an attribute per index

For ViewRowImpl 
  • this
    • mInner 
      • mRows 
        • [0] (assuming you want to see the data of the 1st) 
          • mData 
            • mStorage
              • an attribute per index
For example if we have
Then
For Entity:

For ViewRowImpl:



No comments:

Post a Comment

You might also like:

Related Posts Plugin for WordPress, Blogger...