Macos 禁止将lldb连接到coreaudiod

Macos 禁止将lldb连接到coreaudiod,macos,debugging,Macos,Debugging,试图: 1.停堆 2.启动LLDB并“附加--名称coreaudiod--等待” 3.启动核心音频 我总是得到:“错误:连接失败:连接丢失” 我已经检查了127.0.0.1 localhost是否在/etc/hosts文件中 我还使用恢复操作系统中的“csrutil disable”禁用了系统完整性保护: System Integrity Protection status: enabled (Custom Configuration). Configuration: Apple In

试图: 1.停堆 2.启动LLDB并“附加--名称coreaudiod--等待” 3.启动核心音频 我总是得到:“错误:连接失败:连接丢失”

我已经检查了127.0.0.1 localhost是否在/etc/hosts文件中

我还使用恢复操作系统中的“csrutil disable”禁用了系统完整性保护:

System Integrity Protection status: enabled (Custom Configuration).

Configuration:
    Apple Internal: disabled
    Kext Signing: disabled
    Filesystem Protections: disabled
    Debugging Restrictions: disabled
    DTrace Restrictions: disabled
    NVRAM Protections: disabled

This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.

但是没有用。。帮助?

事实上,在恢复操作系统模式下执行“csrutil disable”后,在Xcode中连接似乎工作正常。另外,使用调试方案中的“预操作”,我可以在尝试连接coreaudiod之前停止/启动coreaudiod,只需单击一下调试