Re: Attach to Process to debug Framework
Re: Attach to Process to debug Framework
- Subject: Re: Attach to Process to debug Framework
- From: Chris Espinosa <email@hidden>
- Date: Tue, 19 Sep 2006 12:22:17 -0700
On Sep 19, 2006, at 10:13 AM, Clark Goble wrote: Hi, I'm having a ton of difficulty debugging a Framework that a client is using. We obviously have the project that built the Framework but only the finished version of their program that uses the Framework. I can attach to their program using either gdb at the command line or with the Attach menu in XCode. But I can't seem to get it to break within my Framework. Is there something special I have to do?
This is easy in Visual Studio. I just build my dll, make sure it is copied over to replace the dll the other application is using and then attach. As soon as it enters my dll code all my breakpoints work from within my VS project. I assume there is a way to do this in XCode just as easily but I can't seem to get it to work. Am I missing something obvious?
Bump.
I take it this simply can't be done on OSX? This is a huge flaw in the development system if true.
Except for the fact that it can, so it isn't.
"Debugging Arbitrary Applications With Xcode"
The main issue is to make sure that the application is using the copy of the framework that was built by the Xcode project, not just any old installed (or embedded) copy of the framework. Launching the app from the Finder and attaching usually won't set this up right, but launching the app with a Custom Executable inside Xcode will.
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