在 macOS 上调试 .NET - 缺少 libsosplugin.so
Debug .NET on macos - missing libsosplugin.so
我正在尝试在 macOS 上设置 .net 核心调试。
已关注 building lldb, then building/osx-instructions 现在没有 libsosplugin.so:
mbp:Debug alex$ find . | grep libsosplugin
./coreclr/src/ToolBox/SOS/tests/test_libsosplugin.py
mbp:Debug alex$ ls
build coreclr corefx llvm
知道哪里做错了吗?
正如在相关 github 线程 https://github.com/dotnet/coreclr/issues/21708 中指出的那样,使用 lldb 插件编译 coreclr 需要新选项:cd coreclr && ./build.sh -cmakeargs -DPLATFORM_SUPPORTS_LLDB_PLUGIN=1
我正在尝试在 macOS 上设置 .net 核心调试。
已关注 building lldb, then building/osx-instructions 现在没有 libsosplugin.so:
mbp:Debug alex$ find . | grep libsosplugin
./coreclr/src/ToolBox/SOS/tests/test_libsosplugin.py
mbp:Debug alex$ ls
build coreclr corefx llvm
知道哪里做错了吗?
正如在相关 github 线程 https://github.com/dotnet/coreclr/issues/21708 中指出的那样,使用 lldb 插件编译 coreclr 需要新选项:cd coreclr && ./build.sh -cmakeargs -DPLATFORM_SUPPORTS_LLDB_PLUGIN=1