Note that there are some explanatory texts on larger screens.

plurals
  1. PODumping STL strings with WinDbg
    text
    copied!<p>I can't dump STL strings with WinDbg anymore - I used to be able to dump an STL string using the command: <code>dt -r (MSVCP90!string) address</code>, or for wide strings, <code>dt -r (MSVCP90!wstring) address</code>. Unfortunately I can't do this anymore - I have a symbol path, and when I list modules it shows that symbols are loaded for MSVCP90:</p> <p><code>74110000 7419e000 MSVCP90 (pdb symbols) x:\symbols\msvcp90.i386.pdb\A23D796E66BB430B891568A6EF0C750C1\msvcp90.i386.pdb</code></p> <p>When I execute the command, the output I get is this:</p> <pre><code>0:025&gt; dt -r (MSVCP90!string) ************************************************************************* *** *** *** *** *** Your debugger is not using the correct symbols *** *** *** *** In order for this command to work properly, your symbol path *** *** must point to .pdb files that have full type information. *** *** *** *** Certain .pdb files (such as the public OS symbols) do not *** *** contain the required information. Contact the group that *** *** provided you with these symbols if you need this command to *** *** work. *** *** *** *** Type referenced: MSVCP90!string *** *** *** ************************************************************************* Symbol MSVCP90!string not found. </code></pre> <p>My symbol path is set like so:</p> <pre><code>0:025&gt; .sympath Symbol search path is: srv*X:\Symbols*http://msdl.microsoft.com/download/symbols Expanded Symbol search path is: srv*x:\symbols*http://msdl.microsoft.com/download/symbols </code></pre> <p>I have found the SDbgExt extension, but from what I read it was for the 7.0 version of the runtime - this is 9.0.</p> <p>Does anyone have an idea on why this feature has ceased to work? I really can't live without it!</p> <p>Thanks!</p> <p>EDIT: For good measure, I also tried enabling noisy symbol mode. I got this output:</p> <pre><code>0:025&gt; .reload /f MSVCP90.dll DBGHELP: MSVCP90 - public symbols x:\symbols\msvcp90.i386.pdb\A23D796E66BB430B891568A6EF0C750C1\msvcp90.i386.pdb </code></pre> <p>So it really looks like my symbols are fine.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload