Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Debug Protocol #524

Open
simon-grantham opened this issue Nov 9, 2023 · 1 comment
Open

Problem with Debug Protocol #524

simon-grantham opened this issue Nov 9, 2023 · 1 comment

Comments

@simon-grantham
Copy link

Type: Bug

I've not only turned of debug protocol for the project on which I am working, I have turned off automatic variable display. VSC with the Roku extension gets totally confused on this very large project. ( ... redacted... ). With both turned off, I can actually do some debugging. I can even single step in very small portions of the code although it gets lost much of the time.

If you do not give me the ability to always turn off your debugging protocol, and go back to the old style, I'll be very upset.

That is using VSC. I often fall back to VI and telnet because it is the only approach that works at all in some circumstances.

Extension version: 2.45.2
VS Code version: Code 1.84.1 (2b35e1e6d88f1ce073683991d1eff5284a32690f, 2023-11-06T12:35:59.022Z)
OS version: Windows_NT x64 10.0.19045
Modes:

@chrisdp
Copy link
Collaborator

chrisdp commented Nov 9, 2023

Hey @simon-grantham If the protocol is causing you large issues you can disable it via settings. You can do any of the following:

  • add "enableDebugProtocol": false to your launch.json
  • add "brightscript.debug.enableDebugProtocol": false to any of the following:
    • work space settings
    • user settings

It is very unfortunate to hear that you are having issue. If possible at some point we would love to try and work through this kind of issue with you. We have been working on supporting this protocol for years and we are getting to the point where we need people like yourself to help us find and squash issues we have not yet run into on the projects we work on. If you think you would be able to sit with us at some point to help replicate these issues we would really appreciate it!

While we don't intend to ever remove/stop supporting telnet, we are planning to put most of our attention into the protocol as it should be much less fragile and accurate in the long term. So thank you so much for reporting this issue to us.

https://rokucommunity.github.io/vscode-brightscript-language/extension-settings.html#brightscriptdebugenabledebugprotocol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants