I've built a web app that makes heavy use of JavaScript and HTML5 canvas. It's easy to debug in Chrome, but on a mobile device the developer tools are much less robust. Is there a tool or technique that will enable me to easily debug and profile my application on an iPod in Mobile Safari?


closed as off-topic by Anko, Josh Sep 30 '15 at 19:27

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Programming questions that aren't specific to game development are off-topic here, but can be asked on Stack Overflow. A good rule of thumb is to ask yourself "would a professional game developer give me a better/different/more specific answer to this question than other programmers?"" – Anko, Josh
If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ is this a game question? otherwise you could try at stackoverflow.com which is more general programming related. \$\endgroup\$ – BerggreenDK Nov 21 '10 at 2:22

By using the iOS simulator that comes with the (free) iOS development kit you can achieve a lot; but profiling is generally tricky. Run it with the debug console; but do the major testing in Safari. (Not Mobile Safari, but the desktop version.) This should help you root out most actual errors.

As for performance, there's not a lot more you can do than to simply test it on a number of representative devices and see if it's fast enough. (2nd gen. iPod Touch, iPhone 3G, iPhone 3GS etc, with both iOS 3 and iOS 4 (latest versions) should be a good starting point.)


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