-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[WSL] Debugger throwing errors - Command failed...$(uname) was unexpected at this time #3150
Comments
@WardenGnaw can you look into this? |
Same problem here; same software versions except for Ubuntu being 16.04. |
The problem seems to be with |
Should be fixed with the latest insiders: https://github.com/Microsoft/vscode-cpptools/releases |
@rakesh-mth This issue was for the WSL scenario and has been resolved. Can you open a new issue and specify your host (Since you are using plink, it should be Windows) and remote machine OS? |
@WardenGnaw Sure will open another issue. Host is windows 10 1803 and Remote machine is ubuntu 16.04. |
Type: Debugger
Input information below
There seems to be similar issues with gdb, but I'm definitely never seen this issue before.
Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation prior to filing an issue.
Describe the bug
OS and Version: Windows 10, Version 1709; Ubuntu 18.04
VS Code Version: 1.31.0 (on Windows)
C/C++ Extension Version: 0.21.0
Not really sure why clicking debug gives me this error. Thought I sat on the keyboard or something but as far as I've checked, don't think it's an issue on my end
To Reproduce
This is only a section of config.json. There's some configs from the Perl Debugger there too. Just attach debuggers for local and remote debugging.
Of note is that that debugger isn't quite working properly either - the yellow line showing where the debugger is in the code, and the stuff in inspect isn't quite showing all. Doing the same thing on my version of VSCode on Mac is having it work fine.(This ended up being a different, separate issue that I fixed)"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Bash on Windows Attach",
"type": "cppdbg",
"request": "attach",
"program": "/mnt/z/sgsxeris006/limxuan/Personal_Workspace/Scratch_Files/intellis", //i edited
"processId": "${command:pickRemoteProcess}",
"pipeTransport": {
"debuggerPath": "/usr/bin/gdb",
"pipeProgram": "${env:windir}\sysnative\bash.exe",
"pipeArgs": ["-c"],
"pipeCwd": ""
},
"windows": {
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
"sourceFileMap": {
"/mnt/z": "z:\"
}
},
Steps to reproduce the behavior:
Additional context
Can't get any log files, or debug errors - cause there are none, just that one popup. Wondering if it's similar to the issues in #2870 and microsoft/WSL#3679
Any help would be great, thanks!
The text was updated successfully, but these errors were encountered: