Xcode always stopping at main.m after a crash

后端 未结 2 585
庸人自扰
庸人自扰 2020-11-30 05:49

In the past, with the old and good Xcode 3, every time I had a crash, Xcode stopped at the offending line showing the crash. It was good times, nice to debug.

Now wi

2条回答
  •  暖寄归人
    2020-11-30 06:24

    Just try the below steps which worked for me.

    1. Open Preferences, select Behaviors tab.
    2. Select "Run exits unexpectedly" from left column.
    3. Select "Show debugger with current views".

    Unfortunately this is reverted back to main.m in the editor again :) Now you need to follow below steps

    1. Open Preferences, select Behaviors tab.
    2. Just go to "run completes"
    3. There find the "Show" line and click the checkbox
    4. On the same line modify target to go to "Current" in the dropdown menu.

    This should work

提交回复
热议问题