26

I am getting the following Warning when i run my Windows Application(MFC) in Windows 7.

'XXX.exe': Loaded 'C:\2010\Debug\bin\plugins\control\libhotkeys_plugin.dll', Binary was not built with debug information.

Please Help Me out.Thank You

vasanth kumar
  • 522
  • 1
  • 5
  • 18

5 Answers5

48

It seems that your binary was build in Release mode

Now there are two ways which you can follow....

  • build the binary with "Debug" configuration
  • change the project settings so that a Program Database file (PDB) is generated in the release mode.

    Now you can generate PDB from the property window...

enter image description here enter image description here

jiten
  • 5,128
  • 4
  • 44
  • 73
20

If your project is already in Debug mode. Please check Advanced Build Settings Dialog Box in Build tab of project.

Make sure that Debug Info is not set to none enter image description here Reference:

Stackoverflow

MSDN

Community
  • 1
  • 1
Abdul Rauf
  • 5,798
  • 5
  • 50
  • 70
5

Another possible way you can see this error is if you're attempting to debug native code (C++) from managed code (C#) and the manage code's csproj is set to Native Only debugging. To fix it:

  1. Right click your csproj in VS and choose Properties
  2. On the Debug tab, set the Debugger type - Application process: to Mixed (Managed and Native)
Weston
  • 1,882
  • 1
  • 20
  • 26
1

In VS 2010 : Project Properties >> Configuration Properties >> Linker >> Debugging >> Generate Debug Info : Set it as "Yes"

In VS 2015 : Project Properties >> Configuration Properties >> Linker >> Debugging >> Generate Debug Info : Set it as "true"

samini
  • 195
  • 11
mkkhedawat
  • 1,687
  • 2
  • 17
  • 34
1

If you sure that there is no problem. You may also check application pool physical path, because sometimes path is keeping local path hence it involves different version.

For Instance in IIS,

->Sites

->>Specified site

->>>Look the at right window

->>>>Look at the Actions Button and click the Basic Settings

->>>>>Check the physical path

mdora7
  • 41
  • 1
  • 5