我在Xcode中有一個應用程序,也有單元測試。當我運行我的單元測試(項目 - >測試)時,在控制檯中出現以下錯誤。 malloc: *** error for object 0x600000490e50: Invalid pointer dequeued from free list
*** set a breakpoint in malloc_error_break to debug
我知
Xcode儀器中是否有一個儀器可記錄我的代碼(帶或不帶Apple自己的框架)所做的所有通話。 似乎這樣做的最接近的工具是Time Profiler。 但是,Time Profiler不會記錄在您自己的代碼中進行的所有調用。 All Time Profiler所做的是以給定的時間間隔拍攝堆棧的快照。 我猜你們中的一些人可能會建議更改Time Profiler上的「採樣間隔」,也許這樣做可能工作,但是