One neat feature that Flex Mobile has is the ability to breakpoint debugging on real device http://tv.adobe.com/watch/adc-presents/flex-mobile-part-3-debug-and-package-apps-for-devices/

Do you know of any JavaScript solutions for such debugging?

In my new mobl demo application which works in Chrome now just displays the background image without any UI on Android and I rellay don’t know where in the code it stops.. alert() in script {} for root screen works. Any suggestions?

Submitted by Terje Pedersen on 1 April 2011 at 14:34

On 1 April 2011 at 14:35 Zef Hemel commented:

You can connect the Android debugger (using adb logcat) to your phone/emulator and get all the Javascript errors like that. Then you can use log(...) to get to see the results.


On 1 April 2011 at 14:42 Terje Pedersen commented:


adb -d logcat | grep browser

Worked great :-)
Thanks


On 1 April 2011 at 15:47 Zef Hemel closed this issue.

On 4 April 2011 at 08:54 Terje Pedersen commented:

Only missing the breakpoint debugging now ;-) But that is most likely a lot of work.


On 5 April 2011 at 12:35 Terje Pedersen commented:

Is there something similar debugging on an real iPhone with the log() function?


On 5 April 2011 at 12:36 Zef Hemel commented:

If you go to the iPhone’s Preferences application, under “Safari”, “Developer” you can enable the Debug Console. Which at the top of the page gives you access to output generated by log().

Log in to post comments