How to use Symbol packages for Windows with Visual Studio 2008?

At Microsoft, I can download Symbian Symbian Packages for XP, Vista, Server, even Windows 7 .

My problem: how to use these characters in Visual Studio? Where in VS 2008 can I add downloaded and extracted characters so that I can debug Windows itself?

What I want to achieve: I want to debug _beginthreadex / endthreadex to see why / where some code is losing handles .

I know that I can install visual studio 2008 to download the source files , but it seems that this is only for .net framework sources

+3
source share
2 answers

Character packs are used only for the version of Windows that you are currently using - they are installed in C: \ Windows \ Symbols, and you can install only one at a time.

Use the Symbol server instead.

Symbol Server

In Visual Studio, go to: Tools/ Options/ Debugging/ Symbols. Add " http://msdl.microsoft.com/download/symbols " to the list Symbol file (.pdb) locations. You will need to enter the cache directory in Cache symbols from symbol servers to this directory:. I am using C: \ WebSymbols. You will have a lot of space (I have about 600 MB in mine), although you can periodically clean the directory.

This will slow down your debugging sessions initially, until all the characters you normally need are cached.

Windows, _NT_SYMBOL_PATH : SRV*C:\WebSymbols*http://msdl.microsoft.com/download/symbols.

( ) .PDB , SYMSTORE.EXE( Windows) .

.PDB () , . , .NET-, ++. .PDB SVN . "Go to Source", Visual Studio SVN , EXE. .

PDB, srcsrv Windows.

+5

" Windows", , , , Express MSV++. , Express ( ), Windows, windbg cdb, , , MSV++, .

0

Source: https://habr.com/ru/post/1703340/


All Articles