How to set malloc_error_break in Xcode4

前端 未结 2 1084
无人共我
无人共我 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"

提交回复
热议问题