NSLog no output in LLDB. Works in GDB

前端 未结 2 2279
挽巷
挽巷 2021-02-20 04:39

Since recent update Xcode 4.3 now seems to default to LLDB debugger. I just found that my NSLog statements are not showing in the console. After searching the for answers, findi

相关标签:
2条回答
  • 2021-02-20 04:50

    xcode 4.3.2 lldb does not show multi-byte strings print by NSLog when debugging with real device, but works when debugging with simulator. I just switch back to gdb by selecting "edit scheme".

    0 讨论(0)
  • 2021-02-20 04:56

    Switching from LLDB back to GDB also worked for me.

    For those who are not familiar with xcode, to change the runtime debugger back to GDB:

    1. Cmd ⌘ + Option ⌥ + R to bring up the pane

    2. Change the Debugger to 'GDB'

    This will have to do until the bug is fixed.

    0 讨论(0)
提交回复
热议问题