PDA

View Full Version : how to print debug message?



mrtndimitrov
2 Feb 2011, 12:13 AM
Please, help.

I need to debug a very strange behavior with dropdowns being disabled on iPhone 4 but for some reason could not print debug messages. I tried everything: console.log, console.info, console.error. Everything works fine on the browser but not on the iPhone.

What is the best way to debug Sencha Touch apps?

Thanks

AndreaCammarata
2 Feb 2011, 1:21 AM
Hi.
Did you enable safari debug console?
http://maisonbisson.com/blog/post/14447/step-by-step-turn-on-the-iphone-ipads-web-debugging-console/

Hope this helps.

mrtndimitrov
2 Feb 2011, 1:26 AM
Hi.
Did you enable safari debug console?


Yes, I did. I can see the log messages on regular html pages but not on Sencha Touch app, even not on the 'Hello World' example.