How to remove catchpoint in gdb

时间:2015-06-26 09:37:25

标签: c++ gcc gdb

I've set a catch point in gdb to catch exceptions with catch throw. How do I remove it without restarting gdb session?

Neither delete nor clear seem to be helpful here.

1 个答案:

答案 0 :(得分:6)

It turned out I tried to delete it wrongly with delete throw.

(gdb) info breakpoints Num Type Disp Enb Address What 2 breakpoint keep y 0x063e3255 exception throw

delete 2 did the trick.