• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using Xcode debugger without Xcode project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Using Xcode debugger without Xcode project
      • From: Alastair Houghton <email@hidden>
References: 
 >Using XCode debugger without XCode project (From: Dieter Oberkofler <email@hidden>)
 >Re: Using XCode debugger without XCode project (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Using XCode debugger without XCode project
  • Next by Date: Re: Control initialised data layout?
  • Previous by thread: Re: Using XCode debugger without XCode project
  • Next by thread: Re: Using Xcode debugger without Xcode project
  • Index(es):
    • Date
    • Thread