• 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
Re: Really remote debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Really remote debugging


  • Subject: Re: Really remote debugging
  • From: Bob Ippolito <email@hidden>
  • Date: Mon, 9 May 2005 14:07:20 -0400

On May 9, 2005, at 1:37 PM, John Stiles wrote:

I have a user in the field who has upgraded to Tiger and now he gets this in his console when he runs my app:

"MyApp[795] Exception raised during posting of notification. Ignored. exception: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value"


And then the app stops dead in its tracks, as you might expect. FWIW I don't believe my code uses any NSDictionaries directly, but that's neither here nor there :)


What would be the simplest way to get a stack crawl from this user at the point of failure? If I had the machine here I could do it with gdb, I'm sure, but I'd like something dead-simple I can tell to a non-techy user (who might not have all the dev tools installed--though I might be able to ask him to do so) and get sane results.

I guess you'll need some way to have the user execute the application with the NSExceptionLoggingEnabled environment variable set to YES and then the user will pop open console and cut+paste the stderr to you.


-bob

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Really remote debugging (From: John Stiles <email@hidden>)

  • Prev by Date: [Moderator] EOT (Re: OT-how to change Mail word-wrap?)
  • Next by Date: Re: Really remote debugging
  • Previous by thread: Really remote debugging
  • Next by thread: Re: Really remote debugging
  • Index(es):
    • Date
    • Thread