程序调试-Debug

pycharm中有这些调试功能:step over 、step into 、step into my code、force step into、 step out 、                     run to cursor

idea中有这些调试功能:       step over 、step into 、                                force step into、 step out 、drop frame、run to cursor

step over :             单步执行,不会进入自定义方法

step into :              会进入自定义方法,不会进入官方类库的方法

step into my code:从源码跳到自己的代码

force step into :     能进入任何方法

step out :               运行完当前的方法,回到上一层方法

drop frame:           返回到当前方法的调用处,相当于后悔药

run to cursor:   运行到光标处

Evaluate:    Evaluate 可以 Debug 表达式,查看某个对象的引用

Resume Program:跳到下一个断点,如果没有就运行结束

 参考来源:https://blog.csdn.net/deepwishly/article/details/54645022

测试进阶轨迹
原文地址:https://www.cnblogs.com/yinwenbin/p/14697709.html