Archive

Archive for March, 2005

Visual Studio Won’t Debug – Symbols not loaded – Fixed

March 30th, 2005

Debugging stopped working on my laptop today.  No symbols would load for any assembly.  Even trying to load the symbols manually in the modules window wouldn’t work. 
I found the answer to this problem over on Min Kwan Park’s blog.

Can start Managed debugging, but PDB is not loaded. So, can’t hit any Breakpoints at all.
 
If you can start debugging and debuggee is launched properly, but you couldn’t hit any BP, you may need to check the installation of “diasymreader.dll”.
The file may not be registered. So you need to register it manually.
To register it, you need to do


  1. find out “diasymreader.dll”
  2. regsvr32 diasymreader.dll

I have no idea how the dll got unregistered but re-registering the library fixed the issue immediately.

.NET