Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

COM and ActiveX Debugging


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at COM and ActiveX Debugging.

This section provides tips on debugging COM applications and ActiveX controls.

COM Server and Container Debugging
Mentions special considerations when debugging COM applications. Issues include: debugging a COM server and container using two projects within the same solution, tracing into calls that go across process boundaries, setting breakpoints in callback functions, and stepping across and into containers and servers.

How to: Debug an ActiveX Control
Contains information on debugging ActiveX controls. This includes: specifying a container for the debug session to see how the code in your ActiveX control executes, debugging a data-bound ActiveX control, simulating a particular container, and stepping into the container's code.

COM Debugging Tools
Lists viewers and sample applications that may be useful in debugging your COM application.

Debugging in Visual Studio
Provides links to the larger sections of the debugging documentation. Information includes: what's new in the debugger, settings and preparation, breakpoints, handling exceptions, edit and continue, debugging managed code, debugging Visual C++ projects, debugging COM and ActiveX, debugging DLLs, debugging SQL, and the user interface references.

Debugger Security
Introduction to COM
ActiveX Controls
SDI Server Applications

© 2017 Microsoft