问题
I am not able to backtrace using the bt
command in debug mode after crash. I have searched but did not get the solution. I have tried [NSThread callStackSymbols]
, but it gives the same message in console:
Console is not supported for a recorded stack frame
How can I do this?
回答1:
There's nothing wrong with your Xcode, you just need to select the appropriate instance from the debug navigator, like this.
To open the gif, follow this link: https://i.stack.imgur.com/IYOeY.gif
回答2:
I solved this issue by resetting simulator and quitting Xcode and run it again. Let me know if you still face the issue.
来源:https://stackoverflow.com/questions/39810235/console-is-not-supported-for-a-recorded-stack-frame-in-debug-mode