Skip to content

Trouble debugging extension #3204

Answered by testforstephen
guw asked this question in Q&A
Jul 17, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

The “Clean Workspace” command only clears the project workspace cache, not the OSGI bundle cache.

To avoid issues with the OSGI bundle cache, you have two options:

  • Use the OSGI version qualifier to generate a unique version for each build. Since JDTLS bundle installer reuses the cached bundle only if the same bundle version has been installed before. If your bundle version is different, it will uninstall the old one first and then install the new one.
  • Delete the OSGI bundle cache directory manually. Depending on your operating system and extension host debugging mode, the cache directory may be located in different places. For Windows, it is usually under the extension installation direc…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@guw
Comment options

@rgrunber
Comment options

Answer selected by guw
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants