Debugging Information Cannot Be Found or Does Not Match Visual Studio'S

debugging information cannot be found or does not match visual studio's

The main reason is that you don't have a matching pdb and exe.

Some possible solutions:

  • You are compiling in release instead of debug
  • You need to clean/build or rebuild
  • You don't have your pdb files being generated in the same directory as the exe
  • You have a mismatching pdb, maybe the copied source is newer than today's date and something isn't building properly.
  • Try cleaning out all debug object files
  • You are attaching to a process that you started from a different location from where your build exe and pdb exist
  • Restart Visual Studio

Debugging information for 'Excel.exe' cannot be found or does not match

Cannot find or open the PDB file.

Generally this error is related to the symbol loaded. We need to enable the symbol Server under TOOLS->Option->Debugging->Symbols, and check the module window and make sure that all symbols are loaded successfully.

Cannot find debugging information when debugging c++ dll

As commented by ortang, you need to activate the debug info when building your project.

See "/DEBUG (Generate Debug Info) (Visual Studio 2013)":

The /DEBUG option creates debugging information for the .exe file or DLL.

The linker puts the debugging information into a program database (PDB). It updates the PDB during subsequent builds of the program.

It is not possible to create an .exe or .dll that contains debug information.

Debug information is always placed in a .pdb file.

To set this linker option in the Visual Studio development environment

  • Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  • Click the Linker folder.
  • Click the Debugging property page.
  • Modify the Generate Debug Info property.

How can I debug this error: 'Debugging information for iisexpress.exe cannot be found or does not match'?

My problem was that the Native Code box was ticked in the Debuggers section of the Web section in Project Properties.

I don't know how this came to be ticked, I certainly never ticked it.

Either way, unticking this box solved my problem.

Sample Image

Debugging information for 'WebDev.WebSer40.exe' cannot found or does not match. Cannot find or open the PDB file

The question very similar to your one Why can't I debug? are alredy answered.

The reasons for your PDB problem eplained here:

  • You are compiling in release instead of debug

  • You need to clean/build or rebuild

  • You don't have your pdb files being generated in the same directory as the exe

  • You have a mismatching pdb, maybe the copied source is newer than today's date and something isn't building properly.

  • Try cleaning out all debug object files

  • You are attaching to a process that you started from a different location from where your build exe and pdb exist


Related Topics



Leave a reply



Submit