Re: C++ exception breakpoint failure
Re: C++ exception breakpoint failure
- Subject: Re: C++ exception breakpoint failure
- From: Dmitry Markman <email@hidden>
- Date: Tue, 28 Jul 2009 08:58:12 -0400
did you try "catch throw" gdb command?
dm
On Jul 27, 2009, at 10:36 PM, James Walker wrote:
Jim Ingham wrote:
This should work. We break on the cxa_throw function, which is
supposed to be how all C++ exceptions get thrown. The disassembly
for __throw_logic_error shows it calling cxa_throw, so we should
catch that.
If you can put together an example program that shows this error
getting thrown but us not catching it, please file a bug, including
the test program.
So far I haven't been able to construct a simple project that has
this problem, and it doesn't always happen in my big program. But
thanks for letting me know that I'm not missing anything real obvious.
On Jul 27, 2009, at 11:42 AM, James Walker wrote:
I have Xcode set to break on throw for all C++ exceptions. But I
found that it did not break when a C++ standard library routine
called __throw_logic_error. Why would that be? (Xcode 3.1.3)
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden