[plt-scheme] call stack display
> We'd like to users to be able to give us some information when our
> application (a C extension) catches SIGSEG or SIGBUS. Is there a
> routine (in scheme or C) which displays the current scheme call stack?
No. MzScheme doesn't provide any introspection for the current Scheme
context, except though explicit uses of `with-continuation-mark' in the
program.
To get context information for DrScheme, we instrument programs by
inserting `with-continuation-mark' expressions.
Your application might do something similar, and then extract the
current continuation marks on a signal. The "errortrace" collection
provides some tools for doing that.
Matthew