Question

I created a powershell script that gets all the pdb files from the drop location after the build is set to release and copies them to a folder that is shared on the network.

I also created a sample application and I added the nuget packages that contain the assemblies that I need (without the pdb files).

I found some references on the net, but I was unable to debug my assemblies using the pdb files. I am using a VPN connection to connect to the shared folder that contains the pdb files and Visual Studio 2010.

What are the exact steps that I need to make in order to use the pdb files that are shared on the network to be able to debug the assemblies that I get using nuget package manager?

Thanks !

Was it helpful?

Solution

If you are looking for a good overview of symbols, Symbol Server, and more importantly Source Server indexing, check out http://bit.ly/SymbolServerTFS which is a blog post I wrote a while back talking about all of them. I specifically talked about it in terms of using Team Foundation Server but it's good information even if you aren't using TFS.

Also, if you want to make this experience better, please vote for my feature request on Uservoice: http://bit.ly/AtLSjl We definitely would appreciate the added voices & votes!

OTHER TIPS

You could try, as a simple solution, VS/Tools/Options/Debugging/Symbols - and try set your symbols cache to your network share (haven't tried this before but might work, map drive etc. if needed).
At least that could get you running temporarily - and make sure you have automatically load for 'all modules' or specify yours.
hope this helps some.

Just define it at Options->Debugging->Symbols->Symbol file (.pdb) locations

Detailed instructions on MSDN

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top