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 9 forks source link

Move breakpoint to next valid line #43

Open TwitchBronBron opened 2 years ago

TwitchBronBron commented 2 years ago

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.