[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: catching exceptions
From: |
Andreas Fink |
Subject: |
Re: catching exceptions |
Date: |
Fri, 12 Jun 2020 13:42:19 +0200 |
thanks thats what I was looking for
break set -S raise catches any call to [NSException raise]
> On 12 Jun 2020, at 13:36, David Chisnall <gnustep@theravensnest.org> wrote:
>
> On 12/06/2020 12:07, Andreas Fink wrote:
>> Does anyone know how I can catch these exceptions in lldb:
>> Throwing 0x7f2fa8004588, in flight exception: 0x7f2fa8004588
>> Exception caught by C++: 0
>> the usual
>> break set -S raise
>
> I'm not sure what that does. I set breakpoints on __cxa_throw and
> objc_exception_throw to get the debugger to tell me where exceptions are
> thrown.
>
> David
>
>