Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging threads and hanging issue



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.