Detect array with issue (Debug mode)

后端 未结 2 2032
孤独总比滥情好
孤独总比滥情好 2020-12-11 10:37

My app is crushing when i\'m calling a few methods

I can see the error message and I understand what it say but I don\'t know how to detect the array with the proble

相关标签:
2条回答
  • 2020-12-11 11:16

    To handle All exceptions, From Xcode click on Show the Breakpoint Navigator

    Click + button at bottom side and from pop up click on Add Exception Breakpoint.

    enter image description here

    This will add exception break points for application, try to run again and execution will stop if any runtime exception raised.

    enter image description here

    If this will not help, enable zombie environment for project, check out from this thread -

    How to set exception breakpoint from Xcode

    0 讨论(0)
  • 2020-12-11 11:34

    Enable Zombie Object in Xcode for better error tracing.

    To enable

    • Press Command+Option+R
    • Under Diagnostic tab-> Memory Management
    • Check "Enable Zombie Object"

    Hope this Helps

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