PDA

View Full Version : Debug DLL in Visual Studio


rhoward
02-02-2012, 05:53 AM
FORTRAN DLL I am trying to debug in Visual Studio 2010. I start an external app that makes calls to the DLL. I have Options|LF Fortran|Debugging|Use WinFDB=False so VS hosts FDB. The DLL is being loaded by the executable using LoadLibrary().

As soon as the DLL is loaded, a dialog pops up with "No debugging information was found. Please use the Debug configuration or rebuild the solution."

The DLL is in Debug configuration. The YDG file is being created. The external app is loading the correct DLL with the YDG. Note that if I delete the YDG, then no error, but no debugging either as expected. This proves that the YDG is actually getting loaded.

Why can't I debug?

Rich