设置参数: set args 参数1 参数2 参数3
一,查看代码:
1.list+行号
2.list+函数
二,设置断点:
1.b 函数
2.b 行号
3.条件断点,后接if
三,查看断点:
info breakpoints
四,取消断点:
1.删除delete Num
2.disable Num-----enableNum(停用,启用)
3.clear 断点行号
五,查看变量值
print 变量名
display 变量名
六,改变变量值
set variable 变量名 = 值
print 变量名 = 值
info threads //查看线程信息
thread id号 //进入线程
disassemble//查看函数汇编代码