Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 takes too long loading symbols, symbol file location cannot be removed

Visual Studio takes a lot of extra time loading symbols for external dlls which I'd rather not load. I have fiddled with my symbol settings in VS2008 and these settings seem to be affecting VS2010

How do I stop it loading 3rd party symbols?
I've tried:

  • devenv /resetuserdata
  • Tools > Options > Debugging > Symbols (I can't remove or uncheck the pdb file location of: "Environment Variable: _NT_SYMBOL_PATH")
  • I've cleared the above location like so: set _NT_SYMBOL_PATH=
    actually this made a huge difference (it was previously SRVc:\symbolshttp://msdl.microsoft.com/download/symbols)
  • I've deleted everything from: %localappdata%\Temp\Temporary ASP.NET Files\root\

The next thing would be a VS re-install, failing that an OS re-install, but if it saves me 14 seconds every time I press debug it would be worth it.

like image 718
Myster Avatar asked Sep 19 '10 21:09

Myster


People also ask

How do I stop Visual Studio from loading Symbols?

You may have a symbol server or symbol path set in your symbol settings (Tools->Options->Debugging->Symbols) that is being queried every time a dll is loaded. You can disable, or delete any such paths.

What are .pdb files Visual Studio?

A program database file (extension . pdb) is a binary file that contains type and symbolic debugging information gathered over the course of compiling and linking the project. A PDB file is created when you compile a C/C++ program with /ZI or /Zi or a Visual Basic, Visual C#, or JScript program with the /debug option.

How do I debug PDB files?

The easiest way to use the PDB file is to let Visual Studio do the heavy lifting - either launch your program with Visual Studio's "Debug" command (F5 by default), or run the program and use the "Attach to Process" item in Visual Studio's Debug menu.


1 Answers

Try Debug -> Delete All Breakpoints

like image 183
Neil Avatar answered Sep 26 '22 07:09

Neil