The ATTACH_SESSION stored procedure notifies the debug session of the target program.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
DBMS_DEBUG.ATTACH_SESSION (
debug_session_id IN VARCHAR2,
diagnostics IN BINARY_INTEGER := 0);
Parameters
| Parameter | Description |
|---|---|
| debug_session_id | The debug ID from the call to INITIALIZE in the target session. |
| diagnostics | The diagnostic output if it is not 0. The value of this parameter cannot be 1. |