• 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: Can't set breakpoint on specific C++ exception class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't set breakpoint on specific C++ exception class


  • Subject: Re: Can't set breakpoint on specific C++ exception class
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 08 Aug 2016 11:42:37 -0700


On Aug 8, 2016, at 11:24 AM, Jim Ingham <email@hidden> wrote:

Filtering by exception class only works for Swift at present.  That’s a known issue.

The funny thing is, it does work sometimes, just in a weird way — as an experiment I entered the name of a simple (non-exception) class in my code, and the debugger stopped in the class’s constructor every time, as though I’d set a symbolic breakpoint at it. But then I tried with other classes, and it works for some but not others; I couldn’t find a pattern.

That gave me the idea to set a symbolic breakpoint on “CppUnit::Exception::Exception”, which works great, since of course those Exception objects are only constructed for the purpose of being thrown.

—Jens
 _______________________________________________
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

References: 
 >Can't set breakpoint on specific C++ exception class (From: Jens Alfke <email@hidden>)
 >Re: Can't set breakpoint on specific C++ exception class (From: Jim Ingham <email@hidden>)

  • Prev by Date: Re: Can't set breakpoint on specific C++ exception class
  • Next by Date: Address Sanitizer "odr-violation" with string literals
  • Previous by thread: Re: Can't set breakpoint on specific C++ exception class
  • Next by thread: Address Sanitizer "odr-violation" with string literals
  • Index(es):
    • Date
    • Thread