hi guys,
currently, there are no backtraces for exceptions in shedskin.. after
googling a bit, I found this nice code snippet, that allows one to
print a useful C++-demangled backtrace at any moment:
https://idlebox.net/2008/0901-stacktrace-demangled/
licensed under the WTFPL.. :-)
so I used this in the constructor of BaseException, and added a -x
command-line option to shedskin to enable it. it works best if you
also compile with -O0 (or perhaps -fno-inline?), or inlined functions
will disappear from the trace.
this is certainly not ideal (yet), but I guess it's better than
nothing.. I'd be very interested in possible improvements.
thanks,
mark.