Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Debug of Dynamicly Loaded DLL

mattsdad
Beginner
528 Views
I have a project that calls one of several dll's depending on initial inputs. The dynamic loading of the dll and its functions is working pretty well except for one feature. What I am trying to do is use Visual Studio 2005 to debug the algorithm which has parts in the main load module and parts in the dll which was loaded by name. I can get to the call to the function that is in the dll, but I cannot step into the function. I also cannot set breakpoints in the dll function (they appear as hollow circles). When I put the pointer over the breakpoint symbol, the ballon message says, "The breakpoint will not currently be hit. No symbols have been loaded for this document."

How do I get the dll function to cooperate with the debugger?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
528 Views
I have a vague memory of having successfully done this in the past. Mske sure thst the DLL you are loading is the ssme one built as a debug configurstion in a project in your VS solution.
0 Kudos
mattsdad
Beginner
528 Views
I have a vague memory of having successfully done this in the past. Mske sure thst the DLL you are loading is the ssme one built as a debug configurstion in a project in your VS solution.

The dll VS project has been in the same VS solution with the main load module VS project. The project dependencies are set such that the main load module VS project is dependent on the dll VS project, so that it will not run unless the dll is up to date.
0 Kudos
Reply