Re: Examing an execution, caught by "catch (...)" possible?
by Alan Johnson <awjcs@[EMAIL PROTECTED]
>
Apr 22, 2008 at 11:16 AM
soeren wrote:
> Hello,
>
> I'm currently in progress of finding an error that seems to be in my
> system's libraries - but throws an exception at least...
> Currently I don't know what exception type this is but I'm able to
> catch it using a "catch (...)" line. Now I'd like to see what this
> exception is. Is there any way to examine this exception and find out
> what type it is?
>
>
> Thanks,
> Soeren Gerlach
>
Most debuggers can set to break whenever an exception is thrown. In
gdb, the magic command is "catch throw". I would be very surprised if
Visual Studio's debugger (or any other popular debugger) didn't have
some equivalent.
--
Alan Johnson
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]