我在玩地圖工具包,並創建了一個註釋。我試圖找到我的錯誤是由於這個錯誤:在NSKVODeallocateBreak處設置斷點
An instance 0x1b7ac0 of class AddressAnnotation was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info:
我不知道哪裏是NSKVODeallocateBreak在是設置一個斷點。我想我可以使用樂器來調試它,但是當我嘗試時,它會崩潰而不會告訴我它墜毀的位置。有什麼想法嗎?
我實際上只是添加一個註釋是一個伊娃。當我嘗試移動它幾次後,我得到了這個錯誤。通過添加一個pin(註解mapView),我隱式添加一個觀察器嗎?謝謝。 – Crystal
要設置Xcode 4中的符號斷點,請切換到斷點導航器並單擊底部的小加號按鈕。 (通過https://devforums.apple.com/thread/68421) – Palimondo