Re: Where to start looking to fix hang?
Re: Where to start looking to fix hang?
- Subject: Re: Where to start looking to fix hang?
- From: Jason Coco <email@hidden>
- Date: Thu, 5 Jun 2008 00:25:17 -0400
You can use the Spin Control application (/Developer/Applications/
Performance Tools/Spin Control.app) to start... that will let you know
what's going on when it starts to hang (this application profiles
everything, so just start it before you launch your application,
launch your app and reproduce the bug). This will give you a decent
idea as to where to put your initial break point and then you can
probably just step through from there–at least until you narrow down
what's going on.
HTH, Jason
On Jun 5, 2008, at 00:17 , Graham Cox wrote:
In my app I'm getting a hang when my main document window is asked
to close. This occurs only if there are unsaved changes, but it
hangs before the "unsaved changes" sheet is presented.
If I link against the 10.4u SDK (but still run on 10.5), this does
not occur, but if I link against the 10.5 SDK, I get the problem.
Obviously something changed between the two implementations.
Where should I start to look to debug/fix this? I just can't see
where I need to set a breakpoint to begin with.
_______________________________________________
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