eclipse debug总结

1,基于JDTA的debug调试
2,eclipse debug
1,F11,ctrl+F2,F5,F6,F7,F8
Stack(generate a Frame for go into per method to debug in stack,其Frame的排列按调用的先后顺序排列,最后调用的排最前面),Evaluting variables,New Detail Formatter
shift+ctrl+i,shift+ctrl+d,Watch,ctrl+u
2,advanced debug
A:Skip all breakpoints(de-activate all breakpoints or activate all breakpoints)
B:breakpoint perpoties:hitcount,conditional expression(return boolean:Execution will stop at the breakpoint, if the condition evaluates to true. )
C:Watchpoint:(a breakpoint set on a field)
D:Exception Breakpoint: You can define if you want to stop for caught and / or uncaught exceptions.
E:Method Breakpoint : You can define if you want to stop the program before entering or after leaving the method.
F:Class Load Breakpoint :Class Load Breakpoint will stop when the class is loaded. (equals to set breakpoint on line" Object xxx=new Object".)
G:Step Filter :You can define which packages should be skipped in debugging.
3,Drop to frame
Eclipse allows you to select any level (frame) in the call stack during debugging and set the JVM to restart from that point.
This allows you to rerun a part of your program. Be aware that variables which have been modified by code that already run will remain modified.
4,Hot Code Replacement(can't activate at main method)
first:should enabled the option of Build automatically
5,ctrl+r,
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值