I know it is a bad way, but if there is no better way, it will help you. :
You can place some messageboxes with test-a, test-b, test-c, test-d, test-e, test-f......in each logical step of your app.
Now you can find the moment when it crashed. After finding for example it comes to test-G. you can set some other messages after the G area to find the exact line. If needed you can show some values in the messagbox too.
Tip: If you place some prefix in your messagetext like 'test-' you can find all those lines very easy by the search function, so you can be sure you removed all those lines before creating a serious release.