您当前的位置: 首页 > 
  • 0浏览

    0关注

    483博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

GDB最常用的命令

高精度计算机视觉 发布时间:2022-02-06 15:06:00 ,浏览量:0

GDB 最常用的命令

b main - Puts a breakpoint at the beginning of the programb - Puts a breakpoint at the current lineb N - Puts a breakpoint at line Nb +N - Puts a breakpoint N lines down from the current lineb fn - Puts a breakpoint at the beginning of function "fn"d N - Deletes breakpoint number Ninfo break - list breakpointsr - Runs the program until a breakpoint or errorc - Continues running the program until the next breakpoint or errorf - Runs until the current function is finisheds - Runs the next line of the programs N - Runs the next N lines of the programn - Like s, but it does not step into functionsu N - Runs until you get N lines in front of the current linep var - Prints the current value of the variable "var"bt - Prints a stack traceu - Goes up a level in the stackd - Goes down a level in the stackq - Quits gdb

关注
打赏
1661664439
查看更多评论
立即登录/注册

微信扫码登录

0.0379s