Re: iOS debugging without Xcode
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