zoukankan      html  css  js  c++  java
  • 如何在pl/sql developer 7运行到oracle存储过程设置断点的地方

    如何高效调试oracle存储过程,尤其是父子网状调用的存储过程

       1,在需要设置断点的oracle存储过程处设置断点
             如何设置断点:直接在某行oracle存储过程处单击行首,会在行首显示一个
        中间以白叉填充的红色小圆圈.
       如何取消断点:单击中间以白叉填充的红色小圆圈即可,断点就消失了
       
     
       2,然后开启test窗口

       3,按上test窗口的放大镜图标(start debugger)或者点击快捷键F9或者依次打开
     菜单debug-->start


     4,最后再次点击test窗口的run按钮(test窗口的绿色倒三角图标)



    pl/sql developer test窗口工具栏

    1,step into 单步调试,通俗讲就是一直往细节处跟踪,类似于打破砂锅问到底,哈哈

    2,step over 平行调试, 可理解为a与b存储过程互为父子调用关系,就不会
               运行到b存储过程,而是a运行后直接运行到与a平级的下面代
              码
    3,step out 跳出  相对于step into,即从某个子存储过程跳出到它的父存储过程

    4,run to next exception 运行到下一个异常处,就直接运行存储过程出错的代码处,
                                           此功能我没有深入理解

  • 相关阅读:
    Network (poj1144)
    C. Hongcow Builds A Nation
    ZYB loves Xor I(hud5269)
    D. Chloe and pleasant prizes
    Game(hdu5218)
    约瑟夫环的递推方法
    Misaki's Kiss again(hdu5175)
    Exploration(hdu5222)
    B. Arpa's weak amphitheater and Mehrdad's valuable Hoses
    C. Arpa's loud Owf and Mehrdad's evil plan
  • 原文地址:https://www.cnblogs.com/handsomer/p/4165145.html
Copyright © 2011-2022 走看看