My Oracle Support Banner

How to use the 'OPA_TRACE' database package to debug PL/SQL code. (Doc ID 2118061.1)

Last updated on DECEMBER 05, 2019

Applies to:

Oracle Clinical - Version 4.6.0 and later
Oracle Clinical Remote Data Capture Option - Version 4.6.0 and later
Oracle Thesaurus Management System - Version 4.6.0 and later
Information in this document applies to any platform.


The purpose of this note is to provide an example of how to use the OPA_TRACE database package to debug PL/SQL code issues. The OPA_TRACE calls can be embedded in existing PL/SQL code (e.g. Validation/Derivation procedures, custom Flex Field functions in the RDC_CLIENT package) and the debug output gets written to the OPA_DEBUG table.

Note: Once the issue is resolved then the OPA_TRACE code which was added should be removed or commented out to avoid unnecessary output being written to the debug table.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.