Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > Re: Examing an ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 9527 of 10094
Post > Topic >>

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! ]
 




 4 Posts in Topic:
Examing an execution, caught by "catch (...)" possible?
soeren <soeren@[EMAIL   2008-04-21 15:41:43 
Re: Examing an execution, caught by "catch (...)" possible?
marlow.andrew@[EMAIL PROT  2008-04-21 20:28:34 
Re: Examing an execution, caught by "catch (...)" possible?
Alan Johnson <awjcs@[E  2008-04-22 11:16:08 
Re: Examing an execution, caught by "catch (...)" possible?
Lance Diduck <lancedid  2008-04-22 11:43:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 7:58:52 CDT 2008.