• 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: Don Quixote de la Mancha <email@hidden>
  • Date: Sun, 08 Jul 2012 20:21:43 -0700

On Sun, Jul 8, 2012 at 7:22 PM, Tom Seddon
<email@hidden> 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).

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.

It would be at least conceptually similar to the remote-kdp protocol
that one uses to debug the OS X kernel and device drivers via "Two
Machine Debugging", with two Macs attached via Ethernet - *not*
TCP/IP, just Ethernet - or FireWire.

Developer Tools 4.3 Source:

   http://opensource.apple.com/release/developer-tools-43/

iOS 5.1.1 Source:

   http://opensource.apple.com/release/ios-511/

The GDB that's embedded in the iOS is an earlier revision than what's
bundled with Xcode.  I expect that only the target debugger stub is
actually installed on the device, with the revision being held back
because that stub must be working OK.

--
Don Quixote de la Mancha
Dulcinea Technologies Corporation
Software of Elegance and Beauty
http://www.dulcineatech.com/don-quixote/
email@hidden

+1 (503) 928-7501
 _______________________________________________
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: iOS debugging without Xcode
  • Next by Date: Re: iOS debugging without Xcode
  • Previous by thread: iOS debugging without Xcode
  • Next by thread: Re: iOS debugging without Xcode
  • Index(es):
    • Date
    • Thread