I have a C++ program I am debugging using Visual Studio 2005 . It uses a DLL. I have the source code for the DLL. Now, suppose I want to debug and step through the DLL. How do I attach this to my current project?
Add the source code project (callee) into the same solution as the calling project.
In the calling project, remove and re-add the reference to the DLL using the "Projects" tab.
In the callee project, put a breakpoint to step through.