您只能将 Microsoft .NET Core 调试器 (vsdbg) 与 Visual Studio Code、Visual Studio 或 Visual Studio for Mac 软件
帮助您开发和测试应用程序。
无法附加到 CoreCLR。
最佳答案
解决方法发布在 [github] 上 (https://github.com/dotnet/coreclr/issues/10279)如下。已确认对我有用。
这是一个对 Gregg Miskelly 有效的解决方法:
- 下载 https://dotnet.myget.org/F/dotnet-core/api/v2/package/runtime.osx.10.10-x64.Microsoft.NETCore.Runtime.CoreCLR/1.1.2-servicing-25123-01
- 以 zip 格式打开生成的文件,然后复制出 runtimes/osx.10.10-x64/native/libdbgshim.dylib
- 打开终端
- cd ~/.vscode/extensions/ms-vscode.csharp-1.8.0/.debugger
- cp。
正如我上面所说,但只是在这里重复一下,我希望很快就能得到真正的修复。但希望这能同时解除人们的封锁。
关于macos - 更新后,vscode 调试器在 macOS 上不再工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43077813/