Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do I specify the source code directory in VS when looking at the call stack of a memory dump?

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

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

like image 503
Brian R. Bondy Avatar asked Oct 03 '08 04:10

Brian R. Bondy


People also ask

How can I see the call stack code in Visual Studio?

To display the call stack window you must first start your code in debug mode. Either start your application using the Step Into command or use a breakpoint to halt execution. You can then show the window by opening the "Debug" menu, expanding its "Windows" submenu and selecting "Call Stack".

How do I Analyse memory dump in Visual Studio?

Open the memory dump in Visual Studio by using the File > Open > File menu command and select your memory dump. Notice on the Memory Dump Summary page a new Action called Run Diagnostics Analysis.

How do you read a call stack?

Call stack is set of lines, which is usually read from top to bottom - meaning moving from current locations to callers. The bottom line was executed first. The top line is executed last and it is the current routine.


1 Answers

The source code directory is unfortunately hard coded into the pdb's however if you know the folders required you can use windows concept of symbolic links, junctions.

I use the tool Junction Link Magic

like image 180
JProgrammer Avatar answered Sep 19 '22 17:09

JProgrammer