Reputation: 7343
How can I make gdb interrupt (like in breakpoint) the program at the point where an exception is thrown, and interrupt again on rethrows and beginnings of the relevant catch blocks?
gdb
Upvotes: 2
Views: 581
Reputation: 24561
Set a catchpoint.
Upvotes: 3
Reputation: 14658
Try catch throw and catch catch.
catch throw
catch catch
Upvotes: 7