BrightScript Debugger> a
Syntax Error. (compile error &h02) in $LIVECOMPILE(229)
BrightScript Debugger> da
070: Sub WaitMessage(port) As Object
071: while true
J000 81 pushbool true
90 01 iffalse J001 'addr=25
...
229: a
Connection to host lost.
"RokuJoel" wrote:
You just found a bug. It really isn't that common to crash the debugger like that. Looks like that issue exists on 4.2 and not on 3.1
...
096: 398, 399, 0x1e4bb60, end sub
097: 000, -01, (nil),
098: 400, 404, 0x1e4bb60, ?
099: 405, 000, 0x1e4bb60, {}
100: 405, 1970040879, 0x1e4bb60, wild_ass
101: 405, 1769104752, 0x1e4bb60, SWAG
102: 405, 1936028265, 0x1e4bb60, {}
side load a BrightScript channel. Telnet to the device on port 8085. Press ctrl-c to interrupt the program and exit to the debugger.
At the BrightScript prompt type:
BrightScript Debugger> a
press enter
then type:
BrightScript Debugger> da
press enter.
...this appears to cause the device to reboot.
"RokuJoel" wrote:
Yes, I filed a bug on this exact issue on 12/31/2011 against firmware 4.x
I'm pretty sure you don't even need a syntax error to reproduce, copy paste from the bug report:
"EnTerr" wrote:
😞 Nobody is typing "random nonsensical commands into the debugger console"
"ljunkie" wrote:
FWIW, I usually hit ctrc-c once the channel starts loading to verify it won't crash while I want to debug something, or if I have an implicit stop in the code. I'm guessing most have seen the pattern, but it will crash the debugger every other time.
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
We're sorry for this disruption — we’re excited to share what’s next!