使用 PL\SQL Developer 7.0.2 调试 Oracle 触发器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8515525/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Debugging Oracle Triggers using PL\SQL Developer 7.0.2?
提问by Maddy
I am able to debug the procedures and functions in PL\SQL Developer but when i set break points for Trigger its not taking them as a valid break points. Can we debug code in triggers using pl\sql developer.
我能够在 PL\SQL Developer 中调试过程和函数,但是当我为 Trigger 设置断点时,它没有将它们作为有效的断点。我们可以使用 pl\sql developer 调试触发器中的代码吗?
回答by Maddy
As A.B.Cade said I just put some DML in a test window, added break points to the trigger and it worked. But prior to that we have to right click on trigger and select "Add Debug information" on context menu.
正如 ABCade 所说,我只是在测试窗口中放置了一些 DML,在触发器中添加了断点并且它起作用了。但在此之前,我们必须右键单击触发器并在上下文菜单中选择“添加调试信息”。