xcode and debugging multithreaded applications
xcode and debugging multithreaded applications
- Subject: xcode and debugging multithreaded applications
- From: "Yves Poissant" <email@hidden>
- Date: Mon, 25 Jun 2007 22:55:30 -0400
- Organization: Hash Enterprises Inc.
I'm debuging a multithreaded application. I placed breakpoints in part of
the C++ code that is designed to pass inter-thread messages. So basically,
those bits of code will only execute from any threads but the main thread. I
was surprised to see that those breakpoints never fired. So I commented out
that code and ran the application again. This time the application behavior
changed (of course). So obviously, the inter-thread messaging code was
actually doing something.
One possible explanation I came to is that xcode and/or DBG will not fire
breakpoints if they are executed from any other thread but the main thread.
Is his plausible? Is there any other possible explanation I don't see?
Note that I previously had (and occasionally still have BTW) breakpoints
that would turn orange and would not fire. But those breakpoints are solid
black so they should normally fire.
Yves Poissant
Hash Inc.
_______________________________________________
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