Re: Debugging a bundle
Re: Debugging a bundle
- Subject: Re: Debugging a bundle
- From: Chris Espinosa <email@hidden>
- Date: Tue, 13 Sep 2005 21:21:30 -0700
On Sep 13, 2005, at 2:05 PM, Yves Poissant wrote:
I have this dylib bundle which I would like to debug.
I posted earlier about Debugger not showing my classes members. I
thought that may be because those classes are inside a bundle that is
dynamically linked with the application but I debug it from the
application. I can trace through the source code and place breakpoints
in it but I can't see the classes mamber variables.
So I thought I may have better luck if I debug the bundle itself. So I
added the pathname to the application in the bundle's "Test Host"
build setting. But the "Run" or "Debug" options are still disabled.
What is the purpose of "Test Host" then? And can I use it do do what I
want to do? If not, then how can I debug the bundle itself?
The "Test Host" is for unit testing, a completely different topic. If
you want to read about it, go here:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
UnitTesting/UnitTesting.html
To debug a bundle that is loaded by some other application, you create
a Custom Executable that points to that application, and Xcode launches
that executable when you debug.
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide21/Contents/Resources/en.lproj/06_01_db_executable/
chapter_39_section_4.html
Chris
_______________________________________________
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