rokucommunity / vscode-brightscript-language

A Visual Studio Code extension for Roku's BrightScript language
MIT License
104 stars 41 forks source link

Debugger stops at breakpoints I've not set #559

Closed rrirower closed 1 month ago

rrirower commented 3 months ago

After experiencing a program exception in the code while testing, the debugger stops at breakpoints I have not set. It typically stops at the constructor of a class, or, in the middle of an associative array. It appears that this may clear up if I reboot my PC and the Roku device.

VSCode: 2.47.0 BSC: 0.65.7

rrirower commented 3 months ago

This is pretty "wonky". I'm not sure what triggers it, but, the debugger will suddenly stop at several breakpoints I have not set. It's a time suck since I have to step through all of the breakpoints to get to the actual one I have set.

TwitchBronBron commented 1 month ago

Hmm. This is pretty strange. Are you using the debug protocol? If so, does this same problem happen when using telnet instead? "enableDebugProtocol": false

rrirower commented 1 month ago

This issue can be closed. I've since updated VSCode and I no longer have this problem.