Xcode debugger broken with .mm files?
Xcode debugger broken with .mm files?
- Subject: Xcode debugger broken with .mm files?
- From: Sir Rattykins <email@hidden>
- Date: Fri, 20 Feb 2009 20:27:19 +1030
Hi all,
I cannot get Xcode's debugger to stop at a breakpoint that has been added in the IDE. The application execution simply continues as usual, regardless of where I add the breakpoints within the code.
The application is a 2 week old Cocoa Application project, created in Xcode from scratch (i.e. no converting from an older project file). English language prefs. MacBook 10.5.5.
It contains C++ and .mm files.
If I attempt to add a breakpoint in either a C++ file or a .mm file and then Debug it, gdb will load but the breakpoint is skipped. Sometimes, and only sometimes, execution will stop some ways down the track, at an unrelated point. Most of the time, however, gdb never interrupts execution at all.
So, I tried another project, some Apple sample code one containing only .c and .m files. Breakpoints work, and I can view the Debugger window.
BUT! I changed a .m file in that small project to a .mm file, rebuilt it, and voila: breakpoints no longer work again. The debugger window is empty of text and assembly. Code debugging tooltip thingies do not appear.
Has anyone found a solution for this behaviour?
Here are some of the things I've tried:
- cleaned and rebuilt the target
- using debug build
- all optimizations off. (Hell, I've never even switched to a Release build yet).
- changed Path Type settings for files before compiling
- looked for zerolink, but it doesn't even appear to be an option anymore in Xcode 3?
- rebuilt code sense index
- generate debug symbols is on
- the path to the executable does not have any funny characters
- removed all breakpoints. (There was only one anyway)
- turned off the lazy loading preference
Thanks for any help.
_______________________________________________
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