www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to get WinDbg to show a call stack on Windows 7?

reply Don <nospam nospam.com> writes:
I've set up a Windows 7 machine for working on DMD but I can't get 
windbg to work properly. Specifically, when I try to debug DMD itself, I 
don't get a call stack; I only see the current function.
Everything else seems OK.

Has anyone else experienced this? Any ideas?
Sep 12 2011
next sibling parent Trass3r <un known.com> writes:
You could also use cv2pdb's -C option and Visual Studio to debug dmd.
Sep 12 2011
prev sibling parent "Vladimir Panteleev" <vladimir thecybershadow.net> writes:
On Mon, 12 Sep 2011 14:00:51 +0300, Don <nospam nospam.com> wrote:

 I don't get a call stack; I only see the current function.
Generally (not specific to DMD or WinDbg), this is a sign that the executable was compiled without stack frames (or that the stack is corrupted). -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Sep 12 2011