Re: Can't set breakpoint on specific C++ exception class
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