I have a VC COM dll which is being referenced from a VB addin. The COM dll and VB addin communicate with each other with connection points. Now i want to debug the COM dll. how can i do this?
put breakpoints in your .DLL. Launch the .DLL in Debug Mode and VisualStudio will ask you to attach the .DLL to a process. Browse the process what yse your .DLL com object and work like you work with a simple .EXE.
In this situation, there is no need to attach the .DLL to a process, this techniques is often used for Services.
Set breakpoint at desired position, run COM DLL normally in Debug mode( press F5 ), run your program that uses COM DLL, the program will break at breakpoint.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.