Debugging COM Containers and Servers Simultaneously

To debug both a container and a server at the same time, start a separate session of Visual C++ for each. That is, run multiple instances of Visual C++, one for the container and one for the server. See the Tip in the topic Debugging ActiveX Applications.