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 s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com