A compatibility wrapper around the BrightScript debug protocol https://developer.roku.com/en-ca/docs/developer-program/debugging/socket-based-debugger.md
In the debug protocol, if we set a breakpoint that comes back as error (probably "couldn't set on this line"), we should try moving the breakpoint to the next non-empty line of code. Perhaps set a cap of 5 retries before just invalidating that breakpoint entirely.
In the debug protocol, if we set a breakpoint that comes back as error (probably "couldn't set on this line"), we should try moving the breakpoint to the next non-empty line of code. Perhaps set a cap of 5 retries before just invalidating that breakpoint entirely.