Here is the scenario. I am using Visual Studio 2010. I have a C++ COM dll. This dll is used by another C++ dll project which is not a COM project. The second dll exposes API's to client applications. The dependency is Client->Non-COM dll->COM dll. I would like to debug the COM dll from any client application.
Here are the things that I have already tried.
- Created a C++ win32 console application that makes use of the non-COM dll.
- Kept both COM dll and non-COM dll and the corresponding pdb files in the debug directory of the win32 application. In Options->Debugging->Symbols, I have selected the path to the debug directory and checked "only specified modules" option to load these files.
- Set all include and library dependencies.
- Now, I can successfully run the application. But while debugging, I can navigate only to the non-COM dll by pressing F11 and the same F11 navigation is not working from this dll to the COM dll.
- When I tried this with two non-COM dll's and a client application, I could navigate upto the innermost dll. At this point, I realized I should change the corresponding registry entry to point to my COM dll file located in the debug directory of the client application, but no luck!
I am sorry that I cannot share the code or describe in detail.
Any solutions?