• 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
starting Xcode debugger from the command line, e.g. xdb, like xed...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

starting Xcode debugger from the command line, e.g. xdb, like xed...


  • Subject: starting Xcode debugger from the command line, e.g. xdb, like xed...
  • From: Fons Rademakers <email@hidden>
  • Date: Thu, 24 Jun 2010 15:00:04 +0200
  • Keywords: CERN SpamKiller Note: -50
  • Organization: CERN

Hi,

the Xcode debugger GUI is very convenient, much better then command line gdb. However, to quickly debug an executable, we now have to make each time a dummy xcode project, add the executable and set the path and env vars before we can debug. Does there exists something like a command line command xdb, like xed to start the xcode debugger gui. In principle this could be done automatically when doing:

 xdb buggyprog arg1 arg2...argn

where xdb could be a script that creates a xcodeproj and sets buggyprog as executable, the current dir as run directory, the current active env vars as variables and the arg1..argn as command arguments and then fires xcode with the generated project. Does this exist? Could this be done?

Cheers, Fons.

--
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: email@hidden              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
_______________________________________________
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: starting Xcode debugger from the command line, e.g. xdb, like xed...
      • From: Jens Alfke <email@hidden>
    • Re: starting Xcode debugger from the command line, e.g. xdb, like xed...
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: Xcode 3.2.3 crashes when opening Organizer window
  • Next by Date: Re: Xcode 3.2.3 crashes when opening Organizer window
  • Previous by thread: Re: Xcode 3.2.3 crashes when opening Organizer window
  • Next by thread: Re: starting Xcode debugger from the command line, e.g. xdb, like xed...
  • Index(es):
    • Date
    • Thread