Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
goya
Visitor

re: BrightScript prompt and BrightScript Debugger prompts

ok i just downloaded sdk and setup my box for learn how to develop on roku devices,

even successfully installed and runned on my player one of the sdk examples and played with telnet ports 8080/8085

so i was reading all the pdf in documents and throughout the BrightScript Reference Manual there are constant reference to

BrightScript>
BrightScript Debugger>

so, how do i get to these, so that i can play around...

you know do things single step, ect...

i'm guessing stop statement, i could put one when thing go bad or at the top of my program and then single step my life away... 😉

or is all i got is write script deploy, crash and burn with only a print statement and trusty reset button Smiley LOL
0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: re: BrightScript prompt and BrightScript Debugger prompt

A stop statement will do it or you can press Ctrl-C from your telnet session while your channel is running. You'll also be dumped to the debugger if your channel crashes. I've found that using a stop statement or Ctrl-C will sometimes exit the channel completely and you'll no longer be able to debug, so it may take a few tries to get your channel to stop within the debugger. I don't believe there's a way to just telnet into the box and and be presented with a prompt.

One note about debugging: the print statement is your best friend. 😄

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.