Readme.md

May 10, 2013 ยท View on GitHub

Debugging

Javascript errors and console output goes to Android LogCat.

For example you can write this in your Javascript:

console.log("hi");

You can use Android DDMS to see the logs, either from android eclipse ide ADT or from monitor tool.

You can filter LogCat in several ways. For example, if you have two activities named org.sugarlabs.clock and org.sugarlabs.memorize, you can enter in the filter entry:

  • app:clock - will filter the messages from clock activity
  • app:sugarlabs - will filter the messages from the two activities