在 Toad 中调试 PLSQL [英] Debugging PLSQL in Toad

查看:59
本文介绍了在 Toad 中调试 PLSQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 PL/SQL 为 Oracle db 创建包,我正在尝试找到一种不使用put_line"命令来调试 PL/SQL 包的好方法,有没有人有一些关于如何使用的好技巧在 Toad 或 SQLPlus 上成功调试 PL/SQL 包?

I've been creating packages for Oracle db using PL/SQL and i'm trying to find a good way to debug a PL/SQL package without using the "put_line" command, does anyone have some good tips on how to successfully debug a PL/SQL package either on Toad or SQLPlus?

推荐答案

根据TOAD的版本不同,图标和工具栏的外观会有所不同,但流程是一样的:

Depending on the version of TOAD, the icons and toolbars will look different, but the process is the same:

  1. 确保使用调试切换编译"选项已打开
  2. 点击编译"按钮
  1. Make sure the "Toggle compiling with Debug" option is turned on
  2. Click "Compile" button
    一个.设置断点

  • 点击使用调试器执行 PLSQL"
  • 蟾蜍 9.7:

    蟾蜍 11.6:

    这篇关于在 Toad 中调试 PLSQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆