Cannot debug header files XCode 2.0
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.
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.
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.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Why won't Xcode even try compiling my .cpp files?? | SparkyNZ | 11 | 11,220 |
Apr 3, 2011 01:44 PM Last Post: AnotherJake |
|
| HTTP header analysis | wadesworld | 3 | 2,927 |
Jan 4, 2009 08:22 PM Last Post: wadesworld |
|
| Newbie problem XCode Include files | BBBert | 1 | 3,837 |
Mar 17, 2008 03:46 PM Last Post: OneSadCookie |
|
| how to debug a dylib? | sakiel | 1 | 3,414 |
Aug 16, 2007 07:26 PM Last Post: OneSadCookie |
|
| .C cplusplus files in XCode? | kelvin | 2 | 3,520 |
Mar 27, 2007 04:18 PM Last Post: OneSadCookie |
|

