How to: Debug COM Servers

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not apply Topic does not apply

Native only

Topic does not apply

Standard

Topic does not apply Topic does not apply

Native only

Topic does not apply

Pro and Team

Topic does not apply Topic does not apply

Native only

Topic does not apply

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

Debugging COM server applications poses a unique set of problems that are not always easy to solve.

If you do not have or do not want to use debugging information for your container application, starting to debug the server application is a three-step process.

To debug a server application without container information

  1. Start debugging the server as a normal application.

  2. Set breakpoints as desired.

  3. Start the container application.

See Also

Tasks

How to: Debug COM Clients and Servers Using RPC Debugging

Concepts

COM Server and Container Debugging

Other Resources

COM and ActiveX Debugging

Debugging in Visual Studio