BlitzMax Request: Exception Stacktrace

BlitzMax Forums/BlitzMax Programming/BlitzMax Request: Exception Stacktrace

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.

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.