Forum Discussion

goya's avatar
goya
Visitor
14 years ago

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

1 Reply

  • renojim's avatar
    renojim
    Community Streaming Expert
    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