• 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: Killing a Thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Killing a Thread


  • Subject: Re: Killing a Thread
  • From: Scott Ribe <email@hidden>
  • Date: Wed, 26 Nov 2008 10:20:52 -0700
  • Thread-topic: Killing a Thread

It occurs to me that maybe you do not know about or understand the use of
the pause button in the debugger.

Get your application to the state where it's hung up. Then hit the pause
button in the debugger. Then use the thread popup to examine the stack of
each thread. Once you know where each thread is locked up, you should have a
much better chance of figuring out the problem.

Note that there may be threads you don't expect--this is normal as the
frameworks sometimes create their own threads for their own background
processing. You should at first ignore threads not running any of your code.

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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: Killing a Thread
      • From: Mahaboob <email@hidden>
References: 
 >Re: Killing a Thread (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Need some advice on multithreading
  • Next by Date: Re: to get handle to "File/1.jpg"
  • Previous by thread: Re: Killing a Thread
  • Next by thread: Re: Killing a Thread
  • Index(es):
    • Date
    • Thread