Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the information from 'first throw call stack' in Xcode

I got a crash from my client,As shown below enter image description here

How can I figure out where the problem is from this picture? How to get information from this? What does '+1036' mean behind '[__NSDictionaryM setObject:forKey:]'?

like image 946
Zedd Avatar asked May 21 '18 07:05

Zedd


1 Answers

You can add an All exception break point in X-Code. Please follow the steps below.

enter image description here

Now run your code. This will hit your error point on code. And this because, you are trying to set a null key on a dictionary. After you add the all exception break point you can find the exact line.

For more info please follow this answer

like image 98
codebot Avatar answered Nov 04 '22 12:11

codebot