How to debug Javascript running in a webview on an iPad?

I have an iPad running some Javascript in a webview, but sometimes it just refuses to work. Does anyone have a way to debug this kind of issue?

You can use bookmarklets to run things like firebug lite: Check the following article for links to how to make bookmarklets installable on mobile safari as well as links to firebug lite.

Recently with the new iOS 6 you can turn on remote debugging and analyze your project with Webkit Inspector on Safari (but only with a Mac, because you must have safari 6.x).

This method would not work on the first generation of iPad too, because they’re not upgradeable to iOS 6.

The question is one year old and obviously it wasn’t available at the moment. I’m posting it so that someone who come up here could know it.


Another tool you could try is adobe shadow.

The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .
Read More:   Is it possible to use JavaScript to change the meta-tags of the page?

Similar Posts