3
我QT5應用程序崩潰時,我打了關閉窗口返回:Qt Creator中4(Mac OS)中如何在Qt Creator中「設置malloc_error_break中的斷點來調試」?
MyApp(28741,0x7fff7aa73000) malloc: *** error for object 0x7fc40bc8e300: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
The program has unexpectedly finished.
如何「在malloc_error_break設置一個斷點調試」?
應該更好地通過終端在lldb/gdb中做到這一點,怎麼樣?
參考:How to find reason for app crash on close?