I use an xcode project for editing and debugging, even though there's no chance 
it would ever be able to build it - much less even have references to *every* 
source file it uses. I just add folder references to the subset of files I care 
about. I've heard it's even possible to get xcode to call out to the make 
command (well, scons in our case) but I prefer building on the actual command 
line - there's a faster interactive mode to scons that xcode can't use.

I first set it up in xcode 3 and kept migrating it, so even if I remembered 
what I'd done, it would be different now. But you just need to set it up so it 
knows where the executable is, then you can run it with all your options set.

What I'd do in your case is let xcode create a simple command line tool project 
then look at how it's set up and replicate it for my project.
________________________________________
From: [email protected] 
[[email protected]] on behalf of Peter C 
[[email protected]]
Sent: Monday, April 20, 2015 4:58 AM
To: [email protected]
Subject: Use Xcode v5.11 to debug non xcode projects

I am looking for a way to debug an open source project (command line tool)
and prefer to use Xcode as a GUI debugger. The project have too many C/C++
files and lots of parameters in the makefile, will not be feasible to make
a Xcode project. It there a way to select executable and debug from there ?

Other than Xcode, is the other lldb GUI frontend app for debugging ?

BTW, "Attach to process" under Xcode does not allow to put in arguments
for runtime debugging.

Thanks in advance.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/lrucker%40vmware.com

This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to