- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
How do I get the dll function to cooperate with the debugger?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page