Cannot debug header files XCode 2.0

Member
Posts: 157
Joined: 2002.12
Post: #1
Hello All

Here's my situation, I work on the same C++ project on two different machines (G4, G5).
When I debug the code on the G4 machine I can go and debug the header files with no problems, but on the G5 the debugger ignores the header files code.

I think I have project setting problems?

I know there's a per file flag I can turn on to tell the compiler to generate debug symbols for the header files, I just can't remember what that was.

Any suggestions?
Thanks.
Quote this message in a reply
Moderator
Posts: 133
Joined: 2008.05
Post: #2
Make sure you're active build configuration is on Development(Project->Active Build Configuration). If that doesn't fix it, set a breakpoint at the beginning of your app and also at the point in the header you want it to break on. Sometimes the debugger won't stop in a static function in a header file until you've already stopped somewhere else beforehand, and hit continue. I don't know why that is. Smile
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  C++ with SDL2 Framework: Loading .bmp files in same folder in XCode 5 on Mavericks exitcode 1 1,415 Feb 23, 2014 11:15 PM
Last Post: SethWillits
  Why won't Xcode even try compiling my .cpp files?? SparkyNZ 11 14,546 Apr 3, 2011 01:44 PM
Last Post: AnotherJake
  HTTP header analysis wadesworld 3 3,472 Jan 4, 2009 08:22 PM
Last Post: wadesworld
  Newbie problem XCode Include files BBBert 1 4,461 Mar 17, 2008 03:46 PM
Last Post: OneSadCookie
  how to debug a dylib? sakiel 1 4,129 Aug 16, 2007 07:26 PM
Last Post: OneSadCookie