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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to