Thread overview | |||||
---|---|---|---|---|---|
|
March 11, 2010 Can't initialize the TangoTrace LGPL stuff | ||||
---|---|---|---|---|
| ||||
how do you get stacktracing to work under windows? |
March 11, 2010 Re: Can't initialize the TangoTrace LGPL stuff | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | "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 Re: Can't initialize the TangoTrace LGPL stuff | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | 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. |
Copyright © 1999-2021 by the D Language Foundation