• 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 debugger broken with .mm files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Moving Between Systems
  • Next by Date: Re: parse error before "__AVAILABILITY_INTERNAL__MAC_10_5"
  • Previous by thread: Re: Moving Between Systems
  • Next by thread: re: Xcode debugger broken with .mm files?
  • Index(es):
    • Date
    • Thread