Search code examples
c#.netvisual-studio-2010remote-debugging

Troubles remote debugging a .Net Application "no symbols have been loaded for this document."


I am trying to debug a .Net application. I copied it (and the .pdb) to a VM. I am able to attach to the process, but my breakpoints are disabled after attach with:

"The break point currently will not be hit , no symbols have been loaded for this document."

I am sure the PDB on the VM is the right one. I tried adding the PDB path on my main machine to visual studio's symbols path. what am I missing?

(Win7 x86, Visual studio 10, .Net 4)

Thanks


Solution

  • The problem was that the PDB files have to be placed at the same folder both on the VM and the host.