Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

Debugging IVF dlls

kstultz
Beginner
483 Views

Is there an example available that shows how to set things up to debug a dll? I'm using IVF 9.1 and VS2005. The both the dll and the calling exe areFortran and I do all compiling and debugging through the VS2005 interface.

I know I've set something up incorrectly, so let me say what I've done and hopefully someone will be able to point out my mistake.

1. I have one solution for the dll and one for the exe. Both compile with no build errors.

2. In the dll, under the Debugging Property Page I set the command entry to the exe file.

3. If I open the dll Solution and start the debugger, the application executes. The problem is that all the breakpoints I set in the dll are ignored. The application just runs to completion.

Any and all suggestions are welcomed.

Thanks,

Kenny Stultz

0 Kudos
1 Reply
Steven_L_Intel1
Employee
483 Views
The key is to make sure that the actual .dll file built by the DLL project is the one that is being loaded by the executable - not a copy of it. I find it easier to have the executable and DLL projects in the same solution, but that is not required.
0 Kudos
Reply