Re: Xcode as debugger only?
Re: Xcode as debugger only?
- Subject: Re: Xcode as debugger only?
- From: Christopher Friesen <email@hidden>
- Date: Sun, 14 Jun 2009 17:49:22 -0700
On Jun 11, 2009, at 10:16 PM, Chris Espinosa wrote: On Jun 11, 2009, at 2:44 PM, Xochitl Lunde wrote: I have two Linux / Windows apps which I am porting to MacOS. I orginally started using Xcode instructions for porting Unix apps to MacOS.http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/intro/intro.html I have Xcode "projects" partly created for the first app, but I have not tried it yet for the second app, which I am interested in at the moment. I just got all the automake files working enough to make the second app a runnable program.
So now, my second app can compile and link using automake on MacOS. I run my app, but it does not work right and I want to debug it. Can I use Xcode to debug this app, just like I might use Insight or DDD on Linux?
I did not create Xcode projects yet because most of the code is made up of 20 libraries that would need Xcode projects, as far as I can tell. Can I be lazy a little longer, or do I have to go back and make many Xcode projects before I can debug?
Create an empty project, create a Custom Executable, set it to invoke your app, and point it at your sources. You can launch and run in the Xcode debugger, stop at breakpoints, etc.
Chris ______________________
You will also need to disable lazy symbol loading in Xode->Preferences 'Debugging' when you are using an external build system target.
-ChrisF
|
_______________________________________________
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