Instantly share code, notes, and snippets.
C程序编译时,加上 -g 选项,然后运行命令进入调试:
-g
lldb [program] [argv]..
GDB commands with the LLDB counterparts
Evaluating a generalized expression in the current frame:
print (int) printf ("Print nine: %d.", 4 + 5)
Sorry, something went wrong.
Evaluating a generalized expression in the current frame: