您的位置:首页 > 其它

gdb faq: how to set/cancel a break

2015-10-14 12:36 288 查看

in the command line,

gdb

then it will enter gdb command line

file foobar

run foobar

break foo.cpp:15    (which means to break at line 15 of foo.cpp)

info breakpoints (the result is breakpoints number with its corresponding setting)

delete breakpoints <breakpoints number>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: