Gui crashes and leaves no messages when error has occured

The other post was about my errors that I was making but I would really like to know why I am not seeing any error messages with this. Does anyone have any ideas?