Windows Stack Traces: Function Names?

dsimcha dsimcha at yahoo.com
Thu May 26 07:38:30 PDT 2011


== Quote from Vladimir Panteleev (vladimir at thecybershadow.net)'s article
> 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)

I get the following out of sigcheck:

c:\windows\system32\dbghelp.dll:
        Verified:       Signed
        Signing date:   11:17 PM 7/13/2009
        Publisher:      Microsoft Corporation
        Description:    Windows Image Helper
        Product:        Microsoft« Windows« Operating System
        Version:        6.1.7600.16385
        File version:   6.1.7600.16385 (win7_rtm.090713-1255)



More information about the Digitalmars-d mailing list