rokucommunity / roku-debug

A compatibility wrapper around the BrightScript debug protocol https://developer.roku.com/en-ca/docs/developer-program/debugging/socket-based-debugger.md
MIT License
13 stars 8 forks source link

Fix debugger freeze on split telnet response #35

Closed TwitchBronBron closed 3 years ago

TwitchBronBron commented 3 years ago

Fix issue where telnet sends the Brightscript Debugger> prompt text split across two messages, such as:

"1234 Brights"
"ript Debugger>"

This is probably also the reason the debugger stalls out sometimes for no apparent reason.

Note to reviewers: This PR looks much smaller if you ignore whitespace changes...I only modified like 3 lines, and removed an if statement wrapper.

TODO: