jdb调试命令

常用调试命令:

run GeoHashTest 110 10 10 -- 带参数运行
stop at GeoHashTest:22 -- 断点GeoHashTest文件的22行
stop in GeoHashEncode.Encoder
step -- 下一步,在当前栈幀或调用调用方法的栈幀
next -- 下一步,只在当前栈幀执行
list -- 显示上下文代码
clear -- list breakpoints
methods GeoHashTest -- list class's methods
locals -- print all local variables in current stack frame

 

posted on 2014-01-17 18:21  大松  阅读(426)  评论(0编辑  收藏  举报