Producing a Crash Report?

BlitzMax Forums/BlitzMax Programming/Producing a Crash Report?

Gabriel(Posted 2009) [#1]
Is there any (relatively simple) way for me to produce a crash report? I'm going to be ready to release the final build to beta testers soon, and it would be nice if I could make their life a little easier by giving them a file they can send me which contains a load of useful stuff to debug the bug.

I'm just wondering if I released a Debug build instead of release, if there's some way to programatically get at the stacktrace so that I could dump that into a file and present it ready to email back to myself.


N(Posted 2009) [#2]
There is, but you'll have to do some hacking in the brl.appstub module. Aside from that, there's an API for getting the backtrace there. Check debugger.stdio.bmx


_Skully(Posted 2009) [#3]
Prolly need a try catch in there


Volker(Posted 2009) [#4]
What about this?


Gabriel(Posted 2009) [#5]
Thanks Noel. I'll have a go at that. From a quick read, it doesn't look too bad.

I am using Try..Catch to catch exceptions.