Thank you,
I will try this.

On 8/26/2015 7:13 PM, Paul T. Bauman wrote:
>
>
> On Wed, Aug 26, 2015 at 6:53 PM, John Peterson <jwpeter...@gmail.com 
> <mailto:jwpeter...@gmail.com>> wrote:
>
>     On Wed, Aug 26, 2015 at 4:23 PM, Michael Povolotskyi
>     <mpovo...@purdue.edu <mailto:mpovo...@purdue.edu>>
>     wrote:
>
>     Now, when your handler is called the depth has been increased up
>     to 100
>     > levels and somehow I got into destructors of my objects. Doing
>     "up" command
>     > many times I was able to get to my exception throwing place, so
>     I could
>     > debug, but this was inconvenient.
>     > May be there is a problem in my code, I do not know.
>     >
>
>     And this is an *uncaught* exception, correct? 
>
>
> If this is the case, you can issue a 'catch throw' before running the 
> program in gdb and it will stop when the exception is thrown: 
> https://sourceware.org/gdb/onlinedocs/gdb/Set-Catchpoints.html
>
> I use this extensively.
>
> (Apologies in advance if you were already aware of this.)
>
>

------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to