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

Documentation for Testing and Compiling the Debugger Protocol Adapter #197

Open
nev-awaken opened this issue Aug 30, 2024 · 1 comment
Open

Comments

@nev-awaken
Copy link

Hi,

I recently made some updates to the debugger protocol adapter and would like to test my changes, but I’m not entirely sure how to properly compile and test the adapter. It would be really helpful if there were some documentation in the CONTRIBUTING.md file or elsewhere in the repo that outlines:

  • How to compile the debugger protocol adapter after making changes.
  • Steps for installing and running the modified adapter to test changes or the extension itself

Thanks

Repository owner deleted a comment Aug 31, 2024
@ManuelHentschel
Copy link
Owner

This will hopefully not be too difficult. You simply have to install the modified version of vscDebugger as you would any other R package (from source). This will overwrite the "official" package and automatically be used by the vscode extension. To go back, you can install the current master version the same way. Since the package contains compiled C code, you might need to be careful that the package is not loaded anywhere, which might cause the installation to fail.

I'll add a few lines to CONTRIBUTING.md about this.

Let me know if you have any specific questions!

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

No branches or pull requests

2 participants