title: XCode 4.3 unit testing C++ library, breakpoints not hit. Why?
body: <p>I have added a unit test target to my C++ static library, in XCode 4.3. The unit test has a type of "Bundle" and is targeted for Mac OS 10.7, not iOS.</p>
  
  <p>When i do "Product-> Test", 
  The test fails before with a "test rig" error 139, but I can't debug it since no breakpoints are hit.</p>
  
  <p>Why aren't the breakpoints being hit and how can I fix it?</p>
  
  <p><strong>EDIT:</strong> </p>
  
  <p>Well, after trying <em>all</em> possible routes, Mac OS X unit tests, iOS unit tests, and even adding application targets to my library, I finally gave up and started a new iOS application, copied all my C++ code to it, and now I can at least debug it properly.</p>