Add CRASH_ON_ERROR define in key places of the code so that if you want easier debugging of errors, just add this to the project's build properties and it'll not catch&display the exception.
git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@562 a9f3cfff-6c41-7446-b0ca-052bd761e6eb