Debug Profile Options
ONT_DEBUG_LEVEL | OM: Debug Level | This profile option set the debug level. if it is zero then debug is off. All of the debug messages are displayed if this profile is equal to 5 |
OE_DEBUG_LOG_DIRECTORY | OM: Debug Log Directory | This tell you the location of Debug file. |
Debug File Name
Debug file name has four components
1. literal 'l'
2. substr(to_char(sysdate,'MI'),1,1)
3. oe_debug_s.nextval
4. File extension is '.dbg'
Debug Package
oe_debug_pub
Debug an Order management form such as Order Organizer
- Check OM debug profile option. If the profile option are not set then set OM Debug Level to 5 for maximum debug lines and Set 'OM: Debug Log Directory' to the appropriate directory. List of profile option is given here
- Open Order Organizer and examine block = '$PROFILES$' and field = 'DB_SESSION_ID'.
- Go to debug directory an run grep
Debug an Order Management Concurrent Program
Set the profile options mentioned above.
Run the concurrent program.
All the Debug messages are appended to Concurrent program log file.
Debug OE application using a pl/sql script
If you are executing a OE_ORDER_PUB using a pl/sql script, you may add following lines to your script to see the Order management debug messages.
OE_DEBUG_PUB.debug_on();
OE_DEBUG_PUB.Start_ONT_Debugger('/tmp','skm1',null);
Please note then directory /tmp must exist.
I canceled an order using OE_ORDER_PUB and there were more than 2000 lines in debug file.
No comments:
Post a Comment