• 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
xcode and debugging multithreaded applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: xcode and debugging multithreaded applications
      • From: Lawrence Gold <email@hidden>
    • Re: xcode and debugging multithreaded applications
      • From: David Dunham <email@hidden>
References: 
 >CHUD 4.4.4 won't open (From: email@hidden)
 >Re: CHUD 4.4.4 won't open (From: Rick Altherr <email@hidden>)
 >Re: CHUD 4.4.4 won't open (From: email@hidden)
 >Re: CHUD 4.4.4 won't open (From: Rick Altherr <email@hidden>)

  • Prev by Date: Re: CHUD 4.4.4 won't open
  • Next by Date: Compiler errors in Carbon headers
  • Previous by thread: Re: CHUD 4.4.4 won't open
  • Next by thread: Re: xcode and debugging multithreaded applications
  • Index(es):
    • Date
    • Thread