Windows Stack Traces: Function Names?

Vladimir Panteleev vladimir at thecybershadow.net
Thu May 26 07:18:47 PDT 2011


On Thu, 26 May 2011 17:00:57 +0300, Andrej Mitrovic  
<andrej.mitrovich at gmail.com> wrote:

> Join the club!
>
> You can run cv2pdb on the exe via "cv2pdb main.exe main.exe", and the
> names will show up. Installing new versions of dbhelp.dll didn't work
> for me.

Works for me without cv2pdb:

C:\Temp\D\StackTrace> type test.d
void test()
{
         throw new Exception("aoeu");
}

void main()
{
         test();
}

C:\Temp\D\StackTrace> dmd -g test


C:\Temp\D\StackTrace> test
object.Exception at test.d(3): aoeu
----------------
C:\Temp\D\StackTrace\test.d(8): _Dmain
----------------

C:\Temp\D\StackTrace> which dbghelp.dll
Found in PATH: C:\Windows\System32\dbghelp.dll

C:\Temp\D\StackTrace> sigcheck C:\Windows\System32\dbghelp.dll

Sigcheck v1.70 - File version and signature viewer
Copyright (C) 2004-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

c:\windows\system32\dbghelp.dll:
         Verified:       Signed
         Signing date:   13:08 2008.01.19
         Publisher:      Microsoft Corporation
         Description:    Windows Image Helper
         Product:        Microsoftо Windowsо Operating System
         Version:        6.0.6001.18000
         File version:   6.0.6001.18000 (longhorn_rtm.080118-1840)

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list