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
原文地址:https://www.cnblogs.com/tao_/p/3524476.html