BlitzMax Request: Exception Stacktrace

BlitzMax Forums/BlitzMax Programming/BlitzMax Request: Exception Stacktrace

N(Posted 2005) [#1]
I want to request that when an exception is thrown, it automatically has a field called 'stacktrace' (a string) filled with a- this is totally unexpected- stacktrace.

Don't know how hard this would be, so if it's not doable then I'm OK with that.


N(Posted 2005) [#2]
Well, I think I figured out how to throw an unhandled exception (thereby producing a stack trace, which isn't exactly what I want but I'm working on it..).

Basically, you import debugger.neutral.c into debugger.bmx, then add an extern declaration for bbDebugUnhandledEx. Then simply rebuild.