1

I've an IPhone (iOS 4.2.1). I'd like to debug apps on it, with gdb. I understand that's easy (?) with XCode, when being a registered developer. I'm not a registered dev., and I don't want to be one. To be more specific, I want to be able to attach to safari with gdb and debug it, by any means (jailbreak is ok).

1 Answer 1

1

You can install gdb on a jailbroken iPhone using Cydia or via apt-get install gdb from shell if you already have apt packages installed.

Then run gdb on device, from shell by ssh... attach / start process... gdb classic use.

I guess it is possible to run remotely gdb from a computer, but never tried outside Xcode.

As a side note, when remoting you device, for best use, do it through USB and not wifi. You can do this on linux/OSX using usbmuxd. On PC i guess iTunnel or something like.

And as a second side note, Years ago I was developing without being "a registered developer", with a jailbroken iPhone it is not hard to "bypass" Apple validations and to Debug directly from Xcode...

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.