"zuber" wrote:
How can we test if we have error in code? How can I debug it?
You use the Roku Debugger:
https://sdkdocs.roku.com/display/sdkdoc/Debugging+Your+ApplicationIf you're using the Eclipse IDE, it apparently has an interface to the Roku Debugger.
If you're not using Eclipse, and developing on a Mac, I think there's something called Terminal you can use to connect to the Roku Debugger.
If you're not using Eclipse (or even of you are), and you're developing on Windows, you can use the built-in Windows Telnet client, or the PurpleBug Roku Debugger Interface:
http://belltown-roku.tk/PurpleBug, developed specifically for debugging Roku channels on Windows computers.