• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C++ exception breakpoint failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ exception breakpoint failure


  • Subject: Re: C++ exception breakpoint failure
  • From: James Walker <email@hidden>
  • Date: Mon, 27 Jul 2009 19:36:47 -0700

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


  • Follow-Ups:
    • Re: C++ exception breakpoint failure
      • From: Jim Ingham <email@hidden>
    • Re: C++ exception breakpoint failure
      • From: Dmitry Markman <email@hidden>
References: 
 >C++ exception breakpoint failure (From: James Walker <email@hidden>)
 >Re: C++ exception breakpoint failure (From: Jim Ingham <email@hidden>)

  • Prev by Date: Re: trouble with distributed builds
  • Next by Date: Re: Link issue??
  • Previous by thread: Re: C++ exception breakpoint failure
  • Next by thread: Re: C++ exception breakpoint failure
  • Index(es):
    • Date
    • Thread