in this presentation many topics related to ADF debugging/logging are covered, like:
- Enable Diagnostic Logging (covered in this article)
- Debug with the Business Components Tester
- Create a Command-Line Test Client Program
- Export Debugger Call Stack and Exact JDev/ADF Version
- Set Up and Use Oracle ADF Source for Debugging
- Conditional breakpoint expressions
- Breakpoints on Task Flow Activities
- ADF Structure and ADF Data Windows
- Breakpoint on Action Bindings in Page Definition
- EL Evaluator Window
- Logging Executed Queries and Fetched Rows
Also this article from Shay Shmeltzer gives a very good overview of the ADF Debugger features (setting breakpoints on various ADF artifacts, using the ADF structure window, ADF Data window and EL Evaluater window).
This article only focuses on enabling the diagnostic logging.
At first, it is useful to make sure the log is saved to the file system, for further analysis:
First setup the log viewer:
Then from the project properties, create a new Run/Debug profile:
Give the profile a name:
Add the string '–Djbo.debugoutput=console' to the Java Options:
Finally, make sure you are using the new Run/Debug configuration:
No comments:
Post a Comment