• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
help with debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with debugging


  • Subject: help with debugging
  • From: sqwarqDev <email@hidden>
  • Date: Wed, 19 Nov 2014 00:52:13 +0700

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 (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


  • Follow-Ups:
    • Re: help with debugging
      • From: Sean McBride <email@hidden>
  • Prev by Date: Re: Deconstructing Text Tables
  • Next by Date: Re: help with debugging
  • Previous by thread: Re: Deconstructing Text Tables
  • Next by thread: Re: help with debugging
  • Index(es):
    • Date
    • Thread