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

Debug protocol breakpoint on first line of main file can't move on. You must press continue #191

Open TwitchBronBron opened 1 month ago

TwitchBronBron commented 1 month ago

Adding a breakpoint at the first line of code in the main function, then step in/over/out will not work no matter how many times you fire it, it just comes back to the same line

image

To work around this, perhaps we should inject some worthless noop code as the actual first line only when "stopOnEntry" is true or if there's a breakpoint on the first line of code.