debugging on device
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
Issue Log
You can connect the Android debugger (using
adb logcat
) to your phone/emulator and get all the Javascript errors like that. Then you can uselog(...)
to get to see the results.
adb -d logcat | grep browserWorked great :-)
Thanks
Only missing the breakpoint debugging now ;-) But that is most likely a lot of work.
Is there something similar debugging on an real iPhone with the log() function?
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