-
Notifications
You must be signed in to change notification settings - Fork 12
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
Running the memoryinspector in WSL #150
Comments
Thanks for raising this issue. The behaviour seen here is due to a culmination of a few things:
The host an extension runs in is outlined using the
However this setup means the memory inspector extension doesn't see any debuggers running in remote hosts. In order to resolve this issue, we need to decide where we want this extension to run. The options boil down to:
I will separately raise a question with the VS Code team to get their input. As this is an OSS project and the UI use case may be unique to Arm, I suggest we go with option Feedback welcome @jreineckearm |
@thegecko There's also the option to list the extension as UI preferred and workspace as secondary option. This did the trick for us when trying to figure out what the problem was |
Hmm, my tests in that scenario didn't work. But if it did, it would still break the browser scenario :( Would you mind confirming if this fixes your setup: ...
"extensionKind": [
"ui",
"workspace"
]
... |
@thegecko Yes, that solved the problem for us at least |
Our experience is also that you basically have to commit to one extension host or the other when working remotely. The Memory Inspector will only run in one extension host, and that needs to be the one that runs the debugger. If you had different debuggers running in the different hosts, only one would work with the Memory Inspector. For our use cases we prefer the workspace extension host, so we've just modified the |
Changed in #151 |
Forgot to mention, I confirmed the PR linked above does indeed fix WSL support in my test setup |
Description
The extensions fails to activate properly when running in WSL
How to reproduce:
Launch a simple gcc project in WSL and try to use the extension
Expected behavior
The extension is activated properly in WSL
Environment
Additional information
The text was updated successfully, but these errors were encountered: