Debugging on iOS 7

From iPhone Development Wiki
Revision as of 22:15, 17 January 2014 by Britta (talk | contribs) (Britta moved page Debugging on iOS7 to Debugging on iOS 7 without leaving a redirect)
Jump to: navigation, search

State of Debuggers on iOS 7

Saurik's comment:

The build of GDB from Xcode 4.4 ( can be pseudosigned with ldid and run on a 32-bit device with reasonable success. Apple no longer maintains gdb (as it being GPL would have required them to release source code for it) nor have they released any source code for anything in Xcode 5 (including lldb, and it sounds like for LLVM they are only semi-interested in contributing their ARM64 backend... so we'll have to see on that one...); in essence, we are currently "out of luck" with regards to debugging on 64-bit devices unless someone burns a bunch of time porting or writing a debugger themselves. It sounds like you got close doing remote debugging from Xcode, though: maybe someone (you?) could work on a Substrate extension to whatever is checking process ownership on the device (probably the lldb moral equivalent of gdb-server) and publish instructions on the dev wiki?

(edit:) On the remote debugging front, crash-x indicates there might be useful instructions for getting a remote lldb to connect through debugserver in the following presentation:

Remote Debugging

Information on how to get remote debugging working on iOS 7 and 64bit devices can be found in this entry: