Hi folks

Pretty uneducated in anything other than the basics of debugging, so I have a 
bug in my app which I can't reproduce my end, but I get several user reports 
that all show the same console.log errors. The bug is near-fatal, i.e. doesn't 
crash the app, but stops it displaying a window containing the problematic text 
view:


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? ).


TIA


Phil



_______________________________________________

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

Reply via email to