24.5 Utilizing Debug Mode
Use Debug mode to track down unexpected application behavior.
- Enabling and Disabling Debug Mode for an Application
Configure whether end users can run the application in debug mode by editing the Debugging attribute in the Application Definition. - Controlling Debug Mode for a Page at Runtime
Control debug mode for the current page and session by clicking the Debug on the Runtime Developer toolbar. - Viewing Debug Messages at Runtime
View debug message at runtime by clicking the Debug, View Debug on the Runtime Developer toolbar - Viewing Debug Messages from Utilities
View all debug messages generated by an application from the Utilities page. - About Using f?p Syntax to Access Debug Mode
Usef?p
syntax to run an application in debug mode. - Viewing Debug Messages for an Application
View debug messages for an application by clicking the Find icon.
Parent topic: Debugging an Application
24.5.1 Enabling and Disabling Debug Mode for an Application
Configure whether end users can run the application in debug mode by editing the Debugging attribute in the Application Definition.
Running an application in debug mode is useful when an application is under development. For production applications, Oracle recommends disabling debugging and thus preventing users from viewing application logic.
Developer who are logged into workspace where the application resides can always run the application in debug mode. Debug can also be enabled programmatically regardless of this debug setting.
To enable or disable debug mode for end users:
See Also:
Managing Application AttributesParent topic: Utilizing Debug Mode
24.5.2 Controlling Debug Mode for a Page at Runtime
Control debug mode for the current page and session by clicking the Debug on the Runtime Developer toolbar.
You enable and disable debug mode for the current page and session by clicking the Debug on the Runtime Developer toolbar.
If debug mode is enabled, debug data is captured in the background. As long as the browser tab or window stays open, uses the current debug mode and level.
To enable or disable Debug mode for a page at runtime:
See Also:
-
APEX_DEBUG in Oracle APEX API Reference
Parent topic: Utilizing Debug Mode
24.5.3 Viewing Debug Messages at Runtime
View debug message at runtime by clicking the Debug, View Debug on the Runtime Developer toolbar
To view debug messages for the current page and session at runtime:
To view debug reports for the current page and session at runtime:
Parent topic: Utilizing Debug Mode
24.5.4 Viewing Debug Messages from Utilities
View all debug messages generated by an application from the Utilities page.
To view debug messages for an application from the Utilities page:
Parent topic: Utilizing Debug Mode
24.5.5 About Using f?p Syntax to Access Debug Mode
Use f?p
syntax to run an application in debug mode.
To use f?p
syntax to run an application in debug mode, simply call
the page and set the Debug argument to YES
or
LEVEL
n
, where n is between 1
(least detailed) and 9 (most detailed). For example:
f?p=100:1:&APP_SESSION.::YES
See Also:
About Using f?p Syntax to Link PagesParent topic: Utilizing Debug Mode
24.5.6 Viewing Debug Messages for an Application
View debug messages for an application by clicking the Find icon.
To access debug messages for an application:
Parent topic: Utilizing Debug Mode