• 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: iOS debugging without Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS debugging without Xcode


  • Subject: Re: iOS debugging without Xcode
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 08 Jul 2012 21:58:24 -0700


On Jul 8, 2012, at 7:22 PM, Tom Seddon wrote:

Does anybody know if it's possible to debug iOS apps running on an iOS device, without using Xcode? I'm hopeful there's some way to start the app from lldb/gdb running in the terminal (or, better yet, via emacs).

As far as I know, there is no way to do this (or if there is, no one has published instructions yet.) Last year I was trying to figure out how to programmatically install and launch apps on a device, for automated QA purposes, but drew a blank.



On Jul 8, 2012, at 8:21 PM, Don Quixote de la Mancha wrote:

One debugs iOS Apps with GDB.  GDB is distributed under the GNU
General Public License, so *somewhere* in GDB's source is Apple's
implementation of the Mac's end of whatever protocol the iOS debugger
stub is talking.

I suspect gdb is just talking to a local debugger-host process that itself talks to the iOS device over USB via some black-box proprietary protocol. Apple is far too paranoid to give out source code that shows how to attach to a process on an iOS device. (But hey, someone please prove me wrong!)

—Jens
 _______________________________________________
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

References: 
 >iOS debugging without Xcode (From: Tom Seddon <email@hidden>)

  • Prev by Date: Re: iOS debugging without Xcode
  • Next by Date: Trouble with std::basic_ostringstream and libc++
  • Previous by thread: Re: iOS debugging without Xcode
  • Next by thread: Trouble with std::basic_ostringstream and libc++
  • Index(es):
    • Date
    • Thread