Closed malix0 closed 2 years ago
That error code is CORDBG_E_DEBUG_COMPONENT_MISSING, which means that the .NET Debugging services couldn't locate libmscordbi.so and/or libmscordaccore.so next to the libcoreclr.dll that your project is using.
I am closing this for now. If you are still running into the problem and need help investigating, let us know.
Issue Description
I can not debug a simple Hello World C# console application. When I run the debugger, on then "Debug console" I get the message "Unable to attach to CoreCLR. Unknown Error: 0x80131c3c"
Steps to Reproduce
Create a new console application cd into new created application folder and launch code . Run debugger pressing F5 or from Run menu
Expected Behavior
Can debug c# code
Actual Behavior
Get error "Unable to attach to CoreCLR. Unknown Error: 0x80131c3c"
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.70.1 C# Extension: 1.25.0
Mono Information
OmniSharp using mono :6.8.0Dotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.108 Commit: 4e3a463d2b Runtime Environment: OS Name: ubuntu OS Version: 22.04 OS Platform: Linux RID: ubuntu.22.04-x64 Base Path: /usr/lib/dotnet/dotnet6-6.0.108/sdk/6.0.108/ global.json file: Not found Host: Version: 6.0.8 Architecture: x64 Commit: 55fb7ef977 .NET SDKs installed: 6.0.108 [/usr/lib/dotnet/dotnet6-6.0.108/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 6.0.8 [/usr/lib/dotnet/dotnet6-6.0.108/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.8 [/usr/lib/dotnet/dotnet6-6.0.108/shared/Microsoft.NETCore.App] Download .NET: https://aka.ms/dotnet-download Learn about .NET Runtimes and SDKs: https://aka.ms/dotnet/runtimes-sdk-infoVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |cpptools|ms-vscode|1.11.5| |csharp|ms-dotnettools|1.25.0| |gitlens|eamodio|12.1.2| |go|golang|0.35.1| |intellicode-api-usage-examples|VisualStudioExptTeam|0.2.0| |java|redhat|1.9.0| |jupyter|ms-toolsai|2022.7.1102252217| |jupyter-keymap|ms-toolsai|1.0.0| |jupyter-renderers|ms-toolsai|1.0.9| |platformio-ide|platformio|2.5.2| |python|ms-python|2022.12.0| |remote-containers|ms-vscode-remote|0.245.0| |rest-book|tanhakabir|6.2.1| |rust-analyzer|rust-lang|0.4.1169| |vscode-docker|ms-azuretools|1.22.1| |vscode-icons|vscode-icons-team|11.15.0| |vscode-java-debug|vscjava|0.43.0| |vscode-java-dependency|vscjava|0.21.0| |vscode-java-pack|vscjava|0.25.0| |vscode-java-test|vscjava|0.36.0| |vscode-language-pack-it|MS-CEINTL|1.70.8100917| |vscode-lldb|vadimcn|1.7.4| |vscode-maven|vscjava|0.37.0| |vscode-pylance|ms-python|2022.8.20| |vscode-solution-explorer|fernandoescolar|0.5.0| |vscodeintellicode|VisualStudioExptTeam|1.2.22|;