Ziomuś Gorliczanin
Ziomuś Gorliczanin

Reputation: 132

Roku Debugging?

I do have Roku Express. I really dont know where to start with developing. I have found where i can learn BrightScript used to build apps for ROKU. (BrightScript Tutorial) That is not an issue - but big question is where i can debug such as "channel".

Is there a way that i can use notepad++ and telnet for debugging purposes? I have found notepad++ highlighter here: NOTEPAD++ BRIGHTSCRIPT HIGHLIGHTER

But i can not find eighter on google or here on stackoverflow how can i debug my application without playing with code and do trial/error, uninstalling, editing, zipping and sending it back to roku for testing.

Thanks for looking and hopefully some one know solution.

Upvotes: 0

Views: 3743

Answers (4)

Ajinkya
Ajinkya

Reputation: 39

Roku Debugging is very easy with the help of the Visual Studio Code. It provides us a way to debug the code with the help of User Interface. Also, it automatically connects you with Roku with the help of telnet and we can use the debug console provided in VSC to print runtime variables and debug code.

More Details - Roku Debugging - VSC

Upvotes: 1

Ish
Ish

Reputation: 1905

There is an excellent open source tool for Roku Debugging called VioletBug that I would highly recommend.

Upvotes: 1

Nas Banov
Nas Banov

Reputation: 29018

You don't need Eclipse for Roku debugging, there is no hidden magic in it.

All you have to do is side-load the ZIP, telnet <roku-IP> 8085 and then either:

  1. interrupt the app with ctrl-C, or
  2. have breakpoint placed in the app via the STOP statement

When execution breaks into debugger, you can type commands directly - check/modify variables, call functions and so on. When finished, resume program execution by typing c and hit Enter

Upvotes: 3

U.Mitic
U.Mitic

Reputation: 764

You can do that with Eclipse! Check the link out: https://sdkdocs.roku.com/plugins/servlet/mobile#content/view/4265458. You can use brihhtscript plug in for the Eclipse that will allow you to edit code, deploy it, debug... You can also use Atom with Roku dev package. You can debug using telent from terminal as well. Check your Roku local IP, open your terminal and type telnet 192.168.1.20(your ip address) 8085.

Upvotes: 2

Related Questions