Re: Using Xcode debugger without Xcode project
Re: Using Xcode debugger without Xcode project
- Subject: Re: Using Xcode debugger without Xcode project
- From: Chris Espinosa <email@hidden>
- Date: Mon, 30 Jul 2007 09:50:03 -0700
On Jul 30, 2007, at 8:48 AM, David Dunham wrote:
On 30 Jul 2007, at 00:21, Dieter Oberkofler wrote:
Could someone help me on how to use the Xcode Debugger when
building without an Xcode project.
This would be great when building with regular makefiles or in our
case we are using CMake to build cross-platform makefiles.
I doubt you can, but can't you just make a legacy target (I think
that's the proper term) and use your current makefile in Xcode?
Piffle.
http://developer.apple.com/documentation/developertools/Conceptual/
XcodeUserGuide/Contents/Resources/en.lproj/06_02_db_set_up_debug/
chapter_40_section_5.html
1) Create a simple Framework or Bundle target that uses Dwarf
debugging, and build it. (Yes, we know this is stupid and
unnecessary, but the debugger wants a project with an executable,
even if it's going to debug something else.)
2) Open the Debugger
3) Choose Attach > (your process) from the Debug menu.
4) In the gdb console of the debugger, use the "dir" command to point
at your sources
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