How to specify the source code directory in VS when viewing a stack of calls to a memory dump?

I am analyzing the .dmp file that was created and I have a call stack that gives me a lot of information. But I would like to double-click on the call stack and bring it to the source code.

I can right-click on the call stack and select character settings .. where can I put this location in the PDB. But there is no option for the source code directory.

+5
source share
4 answers

The source code directory, unfortunately, is hard-coded in pdb, however, if you know the folders you need, you can use the Windows concept of symbolic links, transitions.

Junction Link Magic

+2

, (aka SrcSrv) .

, , .dmp 6 ... ... . , .

ClearCase, Perforce, TFS , , .

, .dmp VS2005 . VS2008.

Visual Studio MS :

http://msdl.microsoft.com/download/symbols

, , Windows.

+3

Windbg , PDB.

+1

After loading the PDB manually, navigate to the source file that corresponds to the current execution location. The PDB contains the path and file name of the source files that built the binary associated with it, and I suspect that the debugger is smart enough to hook it when it notices that the displayed file name and file name associated with the current binary location are the same.

0
source

All Articles