ADF Debugging: Debug Java class
In this section, we walk through on how to debug a Java class in an ADF
Open JDeveloper >> Select Application Servers from Windows
Right click on the Integrated WebLogic Server & Select Debug Server Instance
Note: If it is the first time the WebLogic server is starting, then it prompt for the below details. Input password and click Ok
I have a button in a JSF page. On clicking of the button will invoke the method r1_regionNavigationListener() in a bean.
Below is the bean method. I set a break point by a mouse click on the left side of the line as shown below. A red color dot denotes the breakpoint. So, whenever the button is pressed, it calls the method and the execution halts at the breakpoint
Once the server is running, Right click on the JSF page and select Debug
The page loads on the screen. Mouse click on the button
The debugger executes the method and halt at the breakpoint. It is shown as a blue line below. We can use the F7, F8, and F9 keys to traverse further or you can use the icon pointed in the top toolbar.
Use the Data tab to see the variable values, Breakpoint tab for the list of breakpoints, marked on the bottom panel.
More debugger options are present under the Windows >> Debugger menu
The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.
Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
Latest posts by Govind
- P6 Progress Reporter completely integrated into P6 Team Member - August 15, 2017
- Primavera P6 Professional for EPPM Popup 16.2 : The appropriate industry for your organization has not yet been select in admin preferences - August 15, 2017
- Primavera P6 Background Job Error:Creating job Symon Failed to add Database Job, Check the settings table for valid interval values for dbms_scheduler - August 14, 2017