Share via


Debugging COM Servers

Debugging COM server applications poses a unique set of problems that are not always easy to solve. This topic details debugging tasks that might not behave the way you would expect when debugging a server application.

If you do not have debugging information for your container application, or do not need to see symbolic information for the container, starting to debug the server application is a three-step process:

  1. Start debugging the server as a normal application.

  2. Set breakpoints as desired.

  3. Start the container application.

For information on viewing symbolic information for both the container and the server, see Debugging COM Containers and Servers Simultaneously.

Note   The Visual C++ debugger supports stepping across and into containers and servers. This includes the ability to step across Remote Procedure Calls (RPC). For more information, see Debugging COM Applications.

See Also   Debugging COM Containers