The DETACH_SESSION procedure is used to stop debugging a target program.
This procedure can be called at any time, but it does not notify the target session that the debugging session is detaching, nor does it terminate the execution of the target session. Therefore, it is important to ensure that the target session does not hang.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
DBMS_DEBUG.DETACH_SESSION;
