• 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
Debugging Objective-C++ - how to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging Objective-C++ - how to?


  • Subject: Debugging Objective-C++ - how to?
  • From: P Teeson <email@hidden>
  • Date: Sun, 16 Oct 2005 12:03:40 -0400

Using Tiger 4.2 Xcode 2.2 Beginning developing Obj-C++ project

I am working on an Obj-C++ project but don't know how to step into the C++ methods in the debugger.
(Specifically the ctor/dtor)
The project started as a Cocoa Document project. The Cocoa file is renamed with the .mm extension.
I have a separate C++ file for the things needed there. It has an extension of .cpp.
Everything runs fine but I want to be able to step through both Obj-C and C++ code.
When debugging I can step through the Cocoa methods but cannot step into the C++ ones.


Why not? Is it because I am using the .cpp extension?
I had hoped to keep that since the reason for the C++ is portability of what will become a dll.


Yes I searched the mail archive and also CocoBuilder using "debugging Objective-C++".
I found the Clark Cox item and the Apple docn about debugging C++ from 2001 (Project Builder days).


Is there a way to debug both C++ and Obj-C in an Obj-C++ project?
If so how do I do it?

TIA and


respect....

Peter
_______________________________________________
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


  • Follow-Ups:
    • Re: Debugging Objective-C++ - how to?
      • From: Tommy Nordgren <email@hidden>
  • Prev by Date: Re: Deriving Buildsettings
  • Next by Date: Re: Debugging Objective-C++ - how to?
  • Previous by thread: Re: Deriving Buildsettings
  • Next by thread: Re: Debugging Objective-C++ - how to?
  • Index(es):
    • Date
    • Thread