Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What debugging techniques do you use for iPhone/iPod web development?

I'm working on a web application, and we are targeting the iPhone and iPod Touch. I'm familiar with the debugging tools for FireFox and IE (e.g. Firebug and IE Developer Toolbar), but I can't find anything for the iPod. I am not looking forward to using alert as my main debugging tool, especially when I expect mouse events to be one of the major issues.

Is this really the state of the art? What tools do you recommend?

Also, how similar is the html layout on an iPhone to that of Safari running on Windows? On a Mac?

like image 598
bmm6o Avatar asked Jan 26 '09 21:01

bmm6o


People also ask

How do I debug my Apple iPad?

To debug website on iPad, the first step would be to enable web debugging on the device: Go to Setting > Safari on the device. Scroll to the bottom and click on the Advanced menu. Enable the Web inspector option.

How do I use developer tools on iPhone?

As indicated by the alert, to enable Developer Mode go to Settings > Privacy & Security on the iOS device. Scroll down to the Developer Mode list item and navigate into it. To toggle Developer mode, use the “Developer Mode” switch. Tap the switch to enable Developer Mode.


1 Answers

The iPhone version of Safari includes a debug console that can be very handy. Settings > Safarai > Developer.

You can also use the Simulator in the iPhone SDK. There's no extra debugging, but it's easier than using a physical device all the time.

You can also use the desktop version of Safari for many things.

like image 106
Andrew Grant Avatar answered Oct 08 '22 04:10

Andrew Grant