All,
I grew frustrated with trying to debug my iPhone Ajax apps and wanted
a way to interrogate the DOM and JavaScript stack while my page was
running. Joe Hewitt had written a tie-in to firebug that gave me the
idea to take that to the next logical step: a COMET-based JavaScript
debugger and console. It allows you to log to a remote desktop console
from your JavaScript code, but most importantly, it lets you send
commands to the iPhone to be executed there. You can inspect style
properties of your elements, set new ones, call JavaScript functions,
etc... Anything that can be eval'd can be sent via the command line.
It's been really helpful to me and if you're inclined to try it out,
I'd be interested to hear whether it's useful or not.
I've released it under GPL and posted it on Google Code:
http://code.google.com/p/iphonedebug/
Thanks!
Jon Brisbin
http://jbrisbin.com