Search Results aso_debug_pub
Overview
ASO_DEBUG_PUB is a public PL/SQL package in the APPS schema that provides a shared debugging and tracing facility for the Oracle E-Business Suite Order Capture / Sales Order (ASO) modules and adjacent Order Entry (OE) code. Its central role is to let developers and support engineers switch diagnostic logging on or off at runtime without modifying or recompiling the calling code, and to capture that output either to a server-side file or to an in-memory buffer for later dump. In EBS 12.1.1 and 12.2.2 the package is classified as a PUB (public) API, meaning its interface is intended to be callable from other application code rather than being a private implementation detail. This is reinforced by the metadata showing the package is referenced by 95 other packages, making it one of the more widely reused diagnostic utilities in the ASO/OE stack. Its header comment indicates a long-lived lineage, with the current file revision dated 2009, and it wraps much of its file and buffer behavior around the parallel OE_DEBUG_PUB package, mirroring state such as G_DEBUG_MODE, G_FILE, G_FILE_PTR, and the debug buffer table between the two packages.
Key Procedures and Functions
The package exposes fourteen documented procedures and functions. SET_DEBUG_MODE is the primary entry point and the term most frequently searched by developers; it accepts a mode indicator (for example a value of FILE) and configures the package's global debug state accordingly, returning a value that identifies the active output target such as the generated debug file path. When file mode is selected and no file is yet open it allocates a name from the debug file sequence, opens the file through UTL_FILE, and propagates the handle and mode to OE_DEBUG_PUB. INITIALIZE resets the in-memory debug buffer, counters, and index values in both ASO_DEBUG_PUB and OE_DEBUG_PUB and synchronizes the directory and file globals. DEBUG_ON and DEBUG_OFF toggle the global debug flags, with DEBUG_ON also forcing the OE_DEBUG_PUB flag on to keep the two packages consistent. ISDEBUGON and ISDEBUGON-style checks return the current debug state, while SETDEBUGLEVEL sets the verbosity threshold.
- SET_DEBUG_MODE — selects and configures the debug output mode and returns the active target.
- INITIALIZE — clears and resets debug buffers, counters, and indices.
- DEBUG_ON / DEBUG_OFF — enable or disable debug capture globally.
- ISDEBUGON — reports whether debugging is currently active.
- SETDEBUGLEVEL — adjusts the debug verbosity level.
- ADD — appends a message to the in-memory debug buffer.
- COUNTDEBUG — returns the number of buffered debug entries.
- GETFIRST / GETNEXT / GETNEXTBUFFER — iterate through buffered messages.
- RESETINDEX — resets the read cursor for buffer traversal.
- DUMPDEBUG — writes buffered messages to the configured output.
Tables Accessed
The package relies on the sequence ASO_DEBUG_FILE_S to allocate a unique debug file number, querying it through DUAL when a new file name is needed. Output is written to the server file system via the UTL_FILE built-in package, using a directory and file name recorded in the G_DIR and G_FILE globals. PLITBLM appears in the referenced objects, reflecting the use of an associative array / index-by table type (commonly PL/SQL table of VARCHAR2 index by BINARY_INTEGER) for the in-memory debug buffer used by ADD, GETFIRST, GETNEXT, GETNEXTBUFFER, COUNTDEBUG, and RESETINDEX.
Usage Notes
ASO_DEBUG_PUB is typically invoked from within ASO and OE PL/SQL APIs, concurrent programs, and forms-based code when targeted diagnostics are required. Because it is a public package referenced by many dependents, SET_DEBUG_MODE is generally called at the start of a debugging session to establish the output destination and level, and DEBUG_OFF or RESETINDEX are used to conclude or restart a trace. Its tight coupling with OE_DEBUG_PUB means callers should expect debug state to be shared across both packages.
-
PACKAGE BODY: APPS.ASO_DEBUG_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_DEBUG_PUB, status:VALID,
-
PACKAGE BODY: APPS.ASO_DEBUG_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_DEBUG_PUB, status:VALID,
-
SYNONYM: APPS.ASO_DEBUG_FILE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ASO_DEBUG_FILE_S, status:VALID,
-
SYNONYM: APPS.ASO_DEBUG_FILE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ASO_DEBUG_FILE_S, status:VALID,
-
PACKAGE: APPS.ASO_DEBUG_PUB
12.1.1
-
PACKAGE: APPS.ASO_DEBUG_PUB
12.2.2
-
PACKAGE BODY: APPS.CS_MULTIORG_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_MULTIORG_PUB, status:VALID,
-
PACKAGE BODY: APPS.ASO_APR_WF_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_APR_WF_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_LINE_NUM_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_LINE_NUM_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_LINE_NUM_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_LINE_NUM_INT, status:VALID,
-
PACKAGE BODY: APPS.CS_MULTIORG_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_MULTIORG_PUB, status:VALID,
-
PACKAGE BODY: APPS.ASO_APR_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_APR_PUB_W, status:VALID,
-
PACKAGE BODY: APPS.ASO_MULTI_CURRENCY_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_MULTI_CURRENCY_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_APR_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_APR_PUB_W, status:VALID,
-
PACKAGE BODY: APPS.ASO_APR_WF_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_APR_WF_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_QUOTE_MISC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_MISC_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_QUOTE_MISC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_MISC_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_DEALS_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_DEALS_UTIL, status:VALID,
-
PACKAGE BODY: APPS.ASO_CHK_PRICING_ATTR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_CHK_PRICING_ATTR_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_CHK_PRICING_ATTR_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_CHK_PRICING_ATTR_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_SUP_TEMPLATE_DATA_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_SUP_TEMPLATE_DATA_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_SHIPPING_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_SHIPPING_INT, status:VALID,
-
PACKAGE BODY: APPS.QP_DEALS_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_DEALS_UTIL, status:VALID,
-
PACKAGE BODY: APPS.ASO_DEFAULTING_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_DEFAULTING_UTIL, status:VALID,
-
PACKAGE BODY: APPS.ASO_WFNOTIFICATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_WFNOTIFICATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_INPUT_PARAM_DEBUG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_INPUT_PARAM_DEBUG, status:VALID,
-
PACKAGE BODY: APPS.ASO_INPUT_PARAM_DEBUG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_INPUT_PARAM_DEBUG, status:VALID,
-
PACKAGE BODY: APPS.ASO_CONTRACT_TERMS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_CONTRACT_TERMS_PUB, status:VALID,
-
PACKAGE BODY: APPS.ASO_IBY_FINANCE_CALLBACK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_IBY_FINANCE_CALLBACK, status:VALID,
-
PACKAGE BODY: APPS.ASO_PROJ_COMM_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_PROJ_COMM_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_EDUCATION_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_EDUCATION_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_CORE_CONTRACTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_CORE_CONTRACTS_PUB, status:VALID,
-
PACKAGE BODY: APPS.ASO_PROJ_COMM_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_PROJ_COMM_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_IBY_FINANCE_CALLBACK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_IBY_FINANCE_CALLBACK, status:VALID,
-
PACKAGE BODY: APPS.ASO_CORE_CONTRACTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_CORE_CONTRACTS_PUB, status:VALID,
-
PACKAGE BODY: APPS.ASO_NOTES_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_NOTES_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_NOTES_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_NOTES_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_APR_APPROVALS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_APR_APPROVALS_PKG, status:VALID,
-
PACKAGE BODY: APPS.ASO_CONTRACT_TERMS_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_CONTRACT_TERMS_INT, status:VALID,
-
PACKAGE BODY: APPS.PVX_ATTACHMENT_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PVX_ATTACHMENT_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_SHIPPING_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_SHIPPING_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_CORE_CONTRACTS_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_CORE_CONTRACTS_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_WFNOTIFICATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_WFNOTIFICATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_SUP_TEMPLATE_DATA_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_SUP_TEMPLATE_DATA_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_IBY_FINANCING_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_IBY_FINANCING_PVT, status:VALID,
-
PACKAGE BODY: APPS.PVX_ATTACHMENT_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PVX_ATTACHMENT_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_QUOTE_TMPL_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_TMPL_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_CFG_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_CFG_PUB, status:VALID,
-
PACKAGE BODY: APPS.ASO_CONTRACT_TERMS_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_CONTRACT_TERMS_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_TASK_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_TASK_INT, status:VALID,