Cannot debug with PDBs
-
I posted this in the VS forum, but I guess its more specific to C++... I'm using VS.NET 2005 and building a large application with about 100 projects. There is one project in the solution that compiles to a DLL that I need to debug. (i.e. break, and step into the code) However I can't. In the modules tab of the IDE, it says that no symbols have been loaded for that module. I know the pdb is being generated though, has the same filename as my dll, and is being generated in the same directory as the dll. The timestamps match as well, and I'm building the debug configuration. When I right click on the module in the modules tab and goto "Load Symbols" and point it to my pdb it says that "The symbol file xyz.pdb does not match the module" What could possibly be going wrong?
-
I posted this in the VS forum, but I guess its more specific to C++... I'm using VS.NET 2005 and building a large application with about 100 projects. There is one project in the solution that compiles to a DLL that I need to debug. (i.e. break, and step into the code) However I can't. In the modules tab of the IDE, it says that no symbols have been loaded for that module. I know the pdb is being generated though, has the same filename as my dll, and is being generated in the same directory as the dll. The timestamps match as well, and I'm building the debug configuration. When I right click on the module in the modules tab and goto "Load Symbols" and point it to my pdb it says that "The symbol file xyz.pdb does not match the module" What could possibly be going wrong?
It is possible that the pdb is stripped of its symbols. This is done in deployment to lessen the install footprint. It is also possible that the pdb is not generated from the code that generated the dll.
Pax Domini sit semper vobiscum
-
It is possible that the pdb is stripped of its symbols. This is done in deployment to lessen the install footprint. It is also possible that the pdb is not generated from the code that generated the dll.
Pax Domini sit semper vobiscum