摘要: gdb调试程序: gdb program或gdb attach processId 常用的命令有: list l 列出代码 run r 运行程序 continue c 继续程序的运行 print p 打印变量值 next n 执行下一条语句 step s 若为函数调用,则进入函数内部 finish 阅读全文
posted @ 2018-11-09 13:26 c++11 阅读(465) 评论(0) 推荐(0) 编辑