First page Back Continue Last page Text

oracle adf workshop

Notes:


Using the JDeveloper Debugger

JDeveloper’s integrated debugger is very useful for finding and fixing problems in your code. The following are some key places to set breakpoints:

Source breakpoint in the doIt() method of the JUCtrlActionBinding class (oracle.jbo.uicli.binding package): This is the method that executes when any ADF action binding is invoked, and you can step into the logic and look at parameters if relevant.

Method breakpoints in:

oracle.jbo.server.ViewObjectImpl executeQueryForCollection method: This is the method that is called when a view object executes its SQL query.

oracle.jbo.server.ViewRowImpl.setAttributeInternal method: This is the method that is called when any view row attribute is set.

oracle.jbo.server.EntityImpl.setAttributeInternal method: This is the method that is called when any entity object attribute is set.

A complete debugger lesson is beyond the scope of this course, but the OTN article Tips for Debugging ADF Applications Using JDeveloper contains useful information about debugging ADF applications.