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?