XcodeでiOSアプリを開発していると、実行時に下記のようなメッセージが出て落ちることがあります。 APPNAME_XXX(6028,0x3cb6eb78) malloc: *** error for object 0x1e0aa9c0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug 要約すると、「”malloc_error_break”にブレークポイントを設定して、問題がある場合の対応を検討してください」ということなのですが、その設定手順をメモしておきます。 シンボリックブレークポイントの設定手順 Xcodeの左側のパネルにある「Breakpoint Navigator」タブを選択します。 左下にある「+」ボタンから「Add Symbolic Break
![malloc_error_breakにブレークポイントを設定する方法 « TORQUES LABS](https://cdn-ak-scissors.b.st-hatena.com/image/square/46ad582a73677b8e46be96cf23ba8f222b67e7c0/height=288;version=1;width=512/http%3A%2F%2Flabs.torques.jp%2Fwp-content%2Fuploads%2F2013%2F02%2Fsymbolic-bp-0.png)