www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Can't initialize the TangoTrace LGPL stuff

reply Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
how do you get stacktracing to work under windows?
Mar 10 2010
parent reply "Nick Sabalausky" <a a.a> writes:
"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.
Mar 11 2010
parent Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
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.
Mar 11 2010