I’ve got a C#/NUnit test calling into a C++ library compiled using the Intel C++ compiler (version 12, I beleive). I’ve got the PDB, disabled ‘Just My Code’, enabled Unmanaged Code Debugging. Still, ordinary debugging doesn’t work – it says it hasn’t got the sources and offers to show disassemly.
In addition: I’m constantly experiencing VS2010 crashing while working on this.
Just curious whether anyone has encountered this problem.
The PDB file needs to be in the same directory that the assembly is loaded out of. NUnit copies the test dll to a temp directory and loads it from there — did it copy the PDB.
One way to check is to use ProcMon (which can show all file accesses) and filter for PDB files to see where it’s trying to load it from. ProcMon is available for free from MS:
http://technet.microsoft.com/en-us/sysinternals/bb896645