2

I have a class library(C++) project in visual studio 2005, and want to debug this project using an application installed on the same PC. I have checked it was under debug and win32 platform. But when I use the application to call one function in the class library, the breakpoint in the function can't be hit. The error is "The breakpoint will not currently be hit. No symbols have been loaded for this document."

Any ideas ?

Heidi
  • 161
  • 5
  • 16

1 Answers1

2

It is likely that the library you are currently running does not match the code you have. I guess you did not compile and deploy the latest version of the code.

lolando
  • 1,721
  • 1
  • 18
  • 22
  • Hi, I have build the latest code of the class library before I right click debug in the project @lolando – Heidi Oct 21 '13 at 13:58
  • hmm. on PC there is a earlier dll installed, the application is written in C#, it only uses dllimport to import the dll file and call the function. I am not sure if the application is using the earlier dll installed on the PC @lolando – Heidi Oct 21 '13 at 14:06
  • well, then you can check the timestamp or checksum – lolando Oct 21 '13 at 14:07
  • I fix the problem, it turns out to use the old dll installed in my PC instead of the new dll file. There are some problem when installing the new dll, the new dll doesn't repleace the old dll. Thanks @lolando – Heidi Oct 29 '13 at 08:23
  • @Heidi: you are welcome, thank you too for confirming & providing feedback. – lolando Oct 29 '13 at 08:28