How to set malloc_error_break in Xcode4

前端 未结 2 1078
无人共我
无人共我 2021-02-08 11:36

I am new to Xcode4, how to set malloc_error_break in Xcode4.

malloc: *** error for object 0x686a240: double free
*** set a breakpoint in malloc_error_break to de         


        
相关标签:
2条回答
  • 2021-02-08 12:30

    If in Xcode 4, go to breakpoint navigator

    View/Navigators/Show Breakpoint Navigator

    at the bottom, add a new breakpoint by clicking on the '+' plus sign and choose

    Add Symbolic Breakpoint

    that you'll name it.... "malloc_error_break"

    0 讨论(0)
  • 2021-02-08 12:30

    In Xcode 4.5.2 its (From the menu bar):

    Product, Debug, Create Symbolic Breakpoint

    0 讨论(0)
提交回复
热议问题