在oracle RAC 环境下用 PL/SQL Developer debug procedure 出现 hang 的状况

现象描述:php

  用plsql developer 链接编译procedure 的时候都很正常。一旦开始Test进入Debug模式的时候就Hang住了。node

初步猜想是没有权限,但是是DBA角色呀,若是没有权限会直接报没有权限的错误吧。sql

后面猜想是Oracle 或者PL SQL Developer的版本问题,用同一个PLSQL 在相同版本的不一样机器上测试,结果另一台机器能够Debug。session

开始猜想是否是RAC的缘由。app

搜索到这个解释:http://forums.allroundautomations.com/ubb/ubbthreads.php?ubb=showflat&Number=47544测试

The Oracle Debug API (sys.dbms_debug) internally uses dbms_pipe messages to communicate between the controlling session and the debug session, which apparently can fail on RAC systems.
The only workaround is to modify the tnsnames.ora file to connect to only 1 node of the cluster without load balancing and failover.debug

解释很靠谱,尝试链接到单个的实例上。ip

测试Debug,好使了!ci

相关文章
相关标签/搜索