D 2.0 Stacktrace

Stephan spam at extrawurst.org
Wed Oct 6 06:31:07 PDT 2010


I found a thread about the missing access violations:
http://www.digitalmars.com/d/archives/digitalmars/D/TraceHandler_not_being_called_on_Access_violation_112557.html#N112580

did you issue a bug report or was there any progress on this, i mean the 
thread is kinda old.

On 06.10.2010 13:50, Benjamin Thaut wrote:
> I wrote a small piece of sourcecode that generates stacktraces in D 2.0 under
> windows. It works both with the pdb and cv debug symbol format. For Exceptions
> that are derived from the Error class the trace information is automatically
> appended, this causes all builtin D errors to get a stacktrace information.
> The only point where this does not work is the Access Vioaltion error, as it
> does not call the stacktrace callback function for some reason.
>
> It is very easy to use, just copy the two files from the zip archive to your
> root source directory and import the stacktrace module inside your main file.
> For more informaiton and the download go to:
> http://3d.benjamin-thaut.de
>
> Let me know what you think.
>
> Kind Regards
> Benjamin Thaut



More information about the Digitalmars-d-announce mailing list