Steve
Steve

Reputation: 2588

XCode App randomly crashing - message sent to deallocated instance

I am getting the following error on my app when it randomly crashes during testing.

enter image description here

The logs show the following:

enter image description here

Is there any way possible I can track why this error is apprearing? I'll be super grateful.

Best.

Upvotes: 1

Views: 188

Answers (2)

Josh Gafni
Josh Gafni

Reputation: 2881

You know the pane on the left that shows your files? At the top of it there are 7 buttons or so, and one is shaped like a breakpoint. That's the navigator.

Upvotes: 0

Josh Gafni
Josh Gafni

Reputation: 2881

Go to the Breakpoint Navigator. Click the plus sign on the bottom left. Add exception breakpoint. It will break right before the weird error you are seeing :)

Upvotes: 2

Related Questions