Re: Breakpoints in threads?
Re: Breakpoints in threads?
- Subject: Re: Breakpoints in threads?
- From: j o a r <email@hidden>
- Date: Fri, 19 Aug 2005 23:02:34 +0200
On 19 aug 2005, at 22.09, Roland Torres wrote:
This is probably a naive question, but...
is there a way to set a breakpoint in code that runs in a thread?
I'm launching threads via NSThread's
+detachNewThreadSelector:toTarget:withObject: method.
It seems Xcode just ignores the breakpoints I set. Or is there
something special one must do?
No, you should not have to do anything special - your problem is
probably not related to the fact that the code is running in a non-
main thread.
If you set a breakpoint in your non-threaded code, does it work?
Are you debugging optimized or non-optimized code?
Are you sure that the code around your breakpoint is ever executed?
Also, make sure you check the other similar threads on this topic
(problems with breakpoints).
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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