windbg dv cmd fail - Private symbols (symbols.pri) are required for locals

Posted by leif on Stack Overflow See other posts from Stack Overflow or by leif
Published on 2010-04-12T13:13:05Z Indexed on 2010/04/12 15:23 UTC
Read the original article Hit count: 882

Filed under:

i have a C++ application compiled with VS 2008 with pdb file enabled. After i tried to use dv command to display local vars, it shows the following message:

Unable to enumerate locals, HRESULT0x80004005
Private symbols (symbols.pri) are required for locals.
Type ".hh dbgerr005" for details.

Note that:

  • i've run the "dv" command on the correct frame which has the symbol file.
  • i can use "dt" command successfully.
  • i've included the symbol path and the pdb file has been loaded successfully as following:

start end module name
00400000 0043f000 helloworld (private pdb symbols) c:\test...

Does anyone know the cause? Is there any configuration i missed to enable local var watch? Or VS 2008 pdb is not supported by windbg (i'm using the latest windbg version)?

© Stack Overflow or respective owner

Related posts about WinDbg