MonoDevelop won't open on my mac

The other day i was trying to open mono-develop for a script but each time i opened it, it would shut down immediately. I tried several times to reopen it but each time it would shut down. Now i am using textedit… which doesn’t tell really where the errors are. What can i do to solve this?

Apparently in my case it solved itself after upgrading to 5.1.2f1