Re: Debugging Objective-C++ - how to?
Re: Debugging Objective-C++ - how to?
- Subject: Re: Debugging Objective-C++ - how to?
- From: Tommy Nordgren <email@hidden>
- Date: Sun, 16 Oct 2005 18:31:02 +0200
You must at least define the C++ constructors in a separate
implementation file, in order to step into constructors.
If you define the constructors in the class body, they will be
inlined, and it's oviously not possible to step into
inlinedf methods.
Oct 16, 2005 kl. 6:03 PM skrev P Teeson:
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:
40chello.se
This email sent to email@hidden
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
email@hidden
_______________________________________________
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