Sunday 24 November 2013

                           How  To  Debugg Errors in OAF



Debugging Errors in Local Machine




1. Using sop Statments In Controller:

        system.out.println(" Enters into The statement");

2.Using Internal Debugger in the Statement:


Put Break points Which You Want to run




After run The page It shows Arrow mark on the Code . so Press F9. it follow the flow and if any Error is there it skips the flow. we Can see this is logg window.


Debugg  Errors  in Server:

Here we can Debug using Following statement  in Controller:

 pageContext.writeDiagnostics(this, "I am at disble item3", 
                                     OAFwkConstants.STATEMENT);


IN AM:

OADBTransaction.writeDiagnostics(this, "I am at disble item3", 
                                     OAFwkConstants.STATEMENT);


Using Diagnostics:




  











No comments:

Post a Comment