Thread overview
Can't initialize the TangoTrace LGPL stuff
Mar 11, 2010
Ellery Newcomer
Mar 11, 2010
Nick Sabalausky
Mar 11, 2010
Ellery Newcomer
March 11, 2010
how do you get stacktracing to work under windows?
March 11, 2010
"Ellery Newcomer" <ellery-newcomer@utulsa.edu> wrote in message news:hn9qvi$qf0$1@digitalmars.com...
> how do you get stacktracing to work under windows?

Have you seen this page? http://www.dsource.org/projects/tango/wiki/TutStackTrace

"Windows
You need to compile without optimizations and with -g to get the stack
traces. A dbginfo.dll is needed, but that should be part of windows"

Then add "import tango.core.tools.TraceExceptions;" in the file with main(), and that should do it. Works for me anyway.


March 11, 2010
On 03/11/2010 10:36 AM, Nick Sabalausky wrote:
> "Ellery Newcomer"<ellery-newcomer@utulsa.edu>  wrote in message
> news:hn9qvi$qf0$1@digitalmars.com...
>> how do you get stacktracing to work under windows?
>
> Have you seen this page?
> http://www.dsource.org/projects/tango/wiki/TutStackTrace

No I haven't. Thanks.

>
> "Windows
> You need to compile without optimizations and with -g to get the stack
> traces. A dbginfo.dll is needed, but that should be part of windows"

-g flag. right.