suggestion of backtrace in phobos

Charlie charlies at nowhere.com
Sat Dec 9 09:53:37 PST 2006


Does this work with libraries ?  I can't seem to get a MAP file 
generated for a library I am building, and when I link against the 
library I get ???  for all symbols.

I missed the last discussion on backtrace, but I would definitely argue 
that this get added, as long as there is an easy way to turn it off for 
release builds.

Charlie

shinichiro.h wrote:
>> http://shinh.skr.jp/tmp/backtrace.zip
>> http://shinh.skr.jp/tmp/phobos.patch
> 
> Ahh I missed the release 0.177. I've put the new version of backtrace
> phobos. But there seems to be something strange on Windows.
> 
> http://shinh.skr.jp/tmp/backtrace0_177.zip
> 
> You can check with the following command:
> 
> % dmd.exe signal_test.d -L/Map -g -debug
> % ./signal_test.exe
> Error: Access Violation
> Backtrace:
> 00402019 void signal_test.func()
> 00402028 __Dmain
> 0040211f _main
> 004107c9 _mainCRTStartup
> 7ee7eede ???
> b7ed9567 ???



More information about the Digitalmars-d mailing list