I just created a module that generates stack traces on asserts (D2):
http://www.dsource.org/projects/scrapple/browser/trunk/backtrace_assert/debugging.d
Just compile and link it.
It does have some not exactly ideal bits:
-it won't work nicely unless you link with gcc and add the -rdynamic flag.
-accessing some of the posix stuff fubared my link (unresolved ModuleInfos)
so I had to add the prototypes directly (yuck)
-it uses the c function dprintf that on some system does what I want (print
to a low level file stream) and on some system does something totaly different.
-it has the expected executable name and the location of addr2line hard coded
(any ideas on how to fix these issues welcomed)
--
... <IXOYE><