views:

116

answers:

2

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?

+7  A: 

Try catch throw and catch catch.

Jared Oberhaus
Damn - you beat me by 8 seconds :)
Nemanja Trifunovic
+3  A: 

Set a catchpoint.

Nemanja Trifunovic