Home > .NET > Visual Studio Won’t Debug – Symbols not loaded – Fixed

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

  1. Anonymous
    June 1st, 2005 at 17:11 | #1

    I had the same problem. Your solution worked for me as well. Thank You.

  2. Ionut Rosoiu
    July 4th, 2010 at 17:04 | #2

    Same problem here, even after 5 years… The solution you’ve posted didn’t work, neither any of the other solutions on the msdn blog. I had to uninstall the “.NET Framework 3.0 SP 2″ to fix it (I had two .NET Frameworks installed: 2.0 SP2 and 3.0 SP2).

  1. No trackbacks yet.