How to find the cause of a malloc “double free” error?

后端 未结 13 957
情深已故
情深已故 2020-11-27 09:51

I\'m programming an application in Objective-C and I\'m getting this error:

MyApp(2121,0xb0185000) malloc: *** error for object 0x1068310: double

13条回答
  •  孤独总比滥情好
    2020-11-27 10:53

    Adding a symbolic breakpoint in Xcode 4

    Just an update to make this relevant to Xcode 4...

    From the Xcode 4 User Guide:

    To add a symbolic breakpoint . . .

    1. In the bottom-left corner of the breakpoint navigator, click the Add button.
    2. Choose Add Symbolic Breakpoint.
    3. Enter the symbol name in the Symbol field.
    4. Click Done.

提交回复
热议问题