The ATTACH_SESSION procedure is used to notify the target program of the debugging session.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
DBMS_DEBUG.ATTACH_SESSION (
debug_session_id IN VARCHAR2,
diagnostics IN BINARY_INTEGER := 0);
Parameters
| Parameter | Description |
|---|---|
| debug_session_id | The DebugID obtained by initializing the target session. |
| diagnostics | If this parameter is not 0, diagnostic output is generated. The value 1 is not supported. |
