• 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: Where to start looking to fix hang?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to start looking to fix hang?


  • Subject: Re: Where to start looking to fix hang?
  • From: "Vijay Malhan" <email@hidden>
  • Date: Thu, 5 Jun 2008 12:56:43 +0530

On Thu, Jun 5, 2008 at 9:47 AM, Graham Cox <email@hidden> 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.
>

Use SpinControl and ThreadViewer applications in Development tools. It will
give you the exact call on which the thread is waiting.
- Vijay


>
>
>
> tia,
>
>
> Graham
>
>
>
>
> _______________________________________________
>
> 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
>
_______________________________________________

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

References: 
 >Where to start looking to fix hang? (From: Graham Cox <email@hidden>)

  • Prev by Date: How to enable crash log generation in 10.5?
  • Next by Date: Re: How to enable crash log generation in 10.5?
  • Previous by thread: Re: Where to start looking to fix hang?
  • Next by thread: Writing a notifier app
  • Index(es):
    • Date
    • Thread