Open herrwinfried opened 2 years ago
I am having the same issue with GDB, but from vscode instead. Nothing to add, but I hope this gets some attention.
I am having the same issue with GDB, but from vscode instead. Nothing to add, but I hope this gets some attention.
Same problem from vscode.Running ubuntu22.04 on wsl2. When I try to debug some cpp program using gdb in vscode, gdb just exits without any output.
Then I tried to investigate the problem and tried to run gdb mannually, and the screenshot below is the output I got from gdb: (The Chinese error output means "no file or directory")
Disabling wsl-distrod worked for me.
Describe the bug
I open a visual studio 2022 cmake project and compile it, if wsl-Distrod is open, I get a screen like the image below.
If I turn off wsl-distrod it works.
Steps to reproduce
it doesn't matter, as long as wsl-distrod is open, it always enters the same error loop.
Expected behavior
It should work as below without error.
Windows version
22621.232
Linux kernel version
Linux winfried 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Distro
OpenSUSE Tumbleweed
How did you install that distro?
Enabled
distrod
in an existing WSL2 distroLogs
additional comment
I am using WSL Preview.