Re: How to get stack trace on Windows?

2011-07-25 Thread Dmitry Olshansky
On 25.07.2011 13:59, Kagamin wrote: Dmitry Olshansky Wrote: Any idea why this trick is needed? For me it works as is, just wondering... Your dbghelp probably recognizes the old CV format. In case anybody wants to check this, my dbghelp.dll is here: http://dl.dropbox.com/u/7100999/dbghelp.7z

Re: How to get stack trace on Windows?

2011-07-25 Thread Kagamin
Dmitry Olshansky Wrote: > Any idea why this trick is needed? For me it works as is, just wondering... Your dbghelp probably recognizes the old CV format.

Re: How to get stack trace on Windows?

2011-07-25 Thread Dmitry Olshansky
On 25.07.2011 1:04, Nick Sabalausky wrote: "Andrej Mitrovic" wrote in message news:mailman.1893.1311501384.14074.digitalmars-d-le...@puremagic.com... This is what works for me: module test; import std.stdio; void main() { foo(); } void foo() { bar(); } void bar() { assert(0); } D:

Re: How to get stack trace on Windows?

2011-07-24 Thread Nick Sabalausky
"Andrej Mitrovic" wrote in message news:mailman.1893.1311501384.14074.digitalmars-d-le...@puremagic.com... > This is what works for me: > > module test; > > import std.stdio; > > void main() > { > foo(); > } > > void foo() > { >bar(); > } > > void bar() > { >assert(0); > } > > D:\dev\code

Re: How to get stack trace on Windows?

2011-07-24 Thread Andrej Mitrovic
This is what works for me: module test; import std.stdio; void main() { foo(); } void foo() { bar(); } void bar() { assert(0); } D:\dev\code\d_code\dtrace>dmd -g test.d D:\dev\code\d_code\dtrace>cv2pdb test.exe D:\dev\code\d_code\dtrace>test core.exception.AssertError@test(1

Re: How to get stack trace on Windows?

2011-07-23 Thread Nick Sabalausky
"Dmitry Olshansky" wrote in message news:j0boln$1l4i$1...@digitalmars.com... > On 22.07.2011 15:02, Nick Sabalausky wrote: >> "Dmitry Olshansky" wrote in message >> news:j0bgt7$176q$1...@digitalmars.com... >>> Last time I've seen stack trace it was due to this command: >>> >>> dmd -debug -g ...

Re: How to get stack trace on Windows?

2011-07-22 Thread Dmitry Olshansky
On 22.07.2011 15:02, Nick Sabalausky wrote: "Dmitry Olshansky" wrote in message news:j0bgt7$176q$1...@digitalmars.com... On 22.07.2011 6:54, Nick Sabalausky wrote: I'm not getting any of the function names on the stack traces. I tried everything I found in here: http://www.digitalmars.com/d/a

Re: How to get stack trace on Windows?

2011-07-22 Thread Nick Sabalausky
"Dmitry Olshansky" wrote in message news:j0bgt7$176q$1...@digitalmars.com... > On 22.07.2011 6:54, Nick Sabalausky wrote: >> I'm not getting any of the function names on the stack traces. >> >> I tried everything I found in here: >> http://www.digitalmars.com/d/archives/digitalmars/D/Windows_Stac

Re: How to get stack trace on Windows?

2011-07-22 Thread Dmitry Olshansky
On 22.07.2011 6:54, Nick Sabalausky wrote: I'm not getting any of the function names on the stack traces. I tried everything I found in here: http://www.digitalmars.com/d/archives/digitalmars/D/Windows_Stack_Traces_Function_Names_136887.html - I installed the "Debugging Tools for Windows" to up

How to get stack trace on Windows?

2011-07-21 Thread Nick Sabalausky
I'm not getting any of the function names on the stack traces. I tried everything I found in here: http://www.digitalmars.com/d/archives/digitalmars/D/Windows_Stack_Traces_Function_Names_136887.html - I installed the "Debugging Tools for Windows" to update my dbghelp.dll - I'm already compiling