How to detect the reason of crash?

I did it Dan, Thank you for the advice.