• 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: Debugging threads and hanging issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging threads and hanging issue


  • Subject: Re: Debugging threads and hanging issue
  • From: David Dunham <email@hidden>
  • Date: Thu, 31 Jan 2008 19:04:36 -0800

On 31 Jan 2008, at 13:33, Peter Alshuth wrote:

I created some threads in my application and suddenly the behavior of the Xcode program is wired. If it hits a breakpoint in one of the thread code sections the entire UI is hanging in all applications. I cannot select anything any more and the only way to continue working is to kill the process (Xcode) remotely.
If I can debug some lines and stepping through the code it does not give me the correct content of the variables I am looking to.
Everything works fine with the debugger when I don't have a thread in my application.


I've been using Xcode to debug threaded code for quite some time. Stepping can sometimes be tricky, since other threads run too, but everything works pretty well.

Maybe you can provide some more information about your app and what threading API you're using.

David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.

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


References: 
 >Debugging threads and hanging issue (From: Peter Alshuth <email@hidden>)

  • Prev by Date: Help with help
  • Next by Date: Re: Line-number references wrong by several lines
  • Previous by thread: Debugging threads and hanging issue
  • Next by thread: Help with help
  • Index(es):
    • Date
    • Thread