更新时间:2022-05-21 21:23:55
您是否使用lldb进行调试?如果是这样,请尝试 gdb .
Are you using lldb for debugging? Try gdb if so.
lldb具有这种已知的错误,它会在调试会话期间报告变量的错误值.
lldb has known bugs of this nature where it reports the incorrect values of variables during a debug session.
要将调试器更改为gdb: