heywink
Internal error in the debugger.Exception = System.DllNotFoundException
Getting this error while trying to debug notnet web application in VSCode
my info
Message = Unable to load shared library 'vsdbg' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/vsdbg.dylib, 1): image not found
dlopen(vsdbg.dylib, 1): image not found
dlopen(/Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib, 1): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
dlopen(libvsdbg.dylib, 1): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
dlopen(/Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/vsdbg, 1): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
dlopen(vsdbg, 1): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
dlopen(/Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg, 1): image not found
dlopen(libvsdbg, 1): image not found
Code = 80131524
at VsDbg.NativeEntryPoint.EnsureInitialized(String[] args)
at VsDbg.Transports.LocalTransport.<Init>b__28_0()
Message = Unable to load shared library 'vsdbg' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/vsdbg.dylib, 1): image not found
dlopen(vsdbg.dylib, 1): image not found
dlopen(/Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib, 1): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
dlopen(libvsdbg.dylib, 1): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
dlopen(/Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/vsdbg, 1): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
dlopen(vsdbg, 1): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
dlopen(/Users/chadams/.vscode/extensions/ms-dotnettools.csharp-2.34.12-darwin-x64/.debugger/x86_64/libvsdbg, 1): image not found
dlopen(libvsdbg, 1): image not found
Code = 80131524
at VsDbg.NativeEntryPoint.EnsureInitialized(String[] args)
at VsDbg.Transports.LocalTransport.<Init>b__28_0()
.NET SDK:
Version: 8.0.302
Commit: ef14e02af8
Workload version: 8.0.300-manifests.f6879a9a
MSBuild version: 17.10.4+10fbfbf2e
Runtime Environment:
OS Name: Mac OS X
OS Version: 11.7
OS Platform: Darwin
RID: osx-x64
Base Path: /usr/local/share/dotnet/sdk/8.0.302/
.NET workloads installed:
There are no installed workloads to display.
Host:
Version: 8.0.6
Architecture: x64
Commit: 3b8b000a0e
.NET SDKs installed:
1.0.1 [/usr/local/share/dotnet/sdk]
8.0.204 [/usr/local/share/dotnet/sdk]
8.0.300 [/usr/local/share/dotnet/sdk]
8.0.302 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
.NET SDK:
Version: 8.0.302
Commit: ef14e02af8
Workload version: 8.0.300-manifests.f6879a9a
MSBuild version: 17.10.4+10fbfbf2e
Runtime Environment:
OS Name: Mac OS X
OS Version: 11.7
OS Platform: Darwin
RID: osx-x64
Base Path: /usr/local/share/dotnet/sdk/8.0.302/
.NET workloads installed:
There are no installed workloads to display.
Host:
Version: 8.0.6
Architecture: x64
Commit: 3b8b000a0e
.NET SDKs installed:
1.0.1 [/usr/local/share/dotnet/sdk]
8.0.204 [/usr/local/share/dotnet/sdk]
8.0.300 [/usr/local/share/dotnet/sdk]
8.0.302 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
36 replies