My previous assumption was wrong. The problem was the ancient dbghelp.dll
that comes with Windows XP. I copied, for testing purposes, one newer
version of said file (6.7.5.0) into the folder where the .exe is created
and voilĂ , stacktracing now works:
object.Exception: Test
----------------
00 extern (C) int rt.dmain2.main(int, char**) . void runMain() .
01 extern (C) int rt.dmain2.main(int, char**) . void runAll() .
02 main
03 mainCRTStartup
04 RegisterWaitForInputIdle
I'm sorry for the noise. And thanks again for this! It will come very very
handy when debugging my own code.
--
Yao G.