View Full Version : Debugging on iPhone device itself

Nov 24, 2008, 11:48 AM
So far I've been debugging in the simulator with gdb and installing/testing the app on my iPhone by using the ad-hoc install method..

However since the 2.2 upgrade, my app in the making runs just fine in the simulator, but crashes on the iPhone whenever I call a certain tableview menu which is populated by a JSON array and loads images threaded as described in another thread here on the forums..

The crash logs that sit on the device don't give me a lot of useful data, and it seems gdb doesn't really give as much (or any) info if you're running in a non-dev kernel on the device..

If I'd install a development image on my iPhone, would this allow for full remote debugging like available in the simulator ? (not to keen on doing that, since it's my 'live' phone, so I want to know for sure before I go and buy myself a iPod touch which I can use purely for development)

Nov 24, 2008, 11:51 AM
never mind, running it in 'debug' instead of distribution mode seems to allow for remote debugging.., somewhere I'm getting a:

Program received signal: “EXC_BAD_ACCESS”.

on the device, time to hunt down what causes this.. :)