Debugging Objective-C++ - how to?
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