Re: help with debugging
Re: help with debugging
- Subject: Re: help with debugging
- From: Sean McBride <email@hidden>
- Date: Tue, 18 Nov 2014 13:04:15 -0500
- Organization: Rogue Research Inc.
On Wed, 19 Nov 2014 00:52:13 +0700, sqwarqDev said:
>0 CoreFoundation 0x00007fff8cd5664c
>__exceptionPreprocess + 172
> 1 libobjc.A.dylib 0x00007fff975c86de
>objc_exception_throw + 43
> 2 CoreFoundation 0x00007fff8cd564fd +
>[NSException raise:format:] + 205
> 3 AppKit 0x00007fff967f3814 -[NSTextView
>replaceCharactersInRange:withString:] + 209
> 4 YourApp 0x000000010f63ccf1 YourApp + 27889
> 5 YourApp 0x000000010f637a6f YourApp + 6767
> 6 AppKit 0x00007fff96aad039 -[NSIBObjectData
>
>
>I know which class this belongs to, and I see the error is generated by
>the call at line 3 above. However, in this class there's a huge number
>of "replaceCharactersInRange:" calls. How can I narrow down the search?
>Is there any way to use the info above to determine which line of code
>is failing? (e.g, what do the numbers after the '+' sign mean and is it
>possible to use them to help me find the bug? ).
Those offsets tell you how far into the function (in bytes I think) it was. You can indeed bring that back to a line number. See here:
<http://lldb.llvm.org/symbolication.html>
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden