Skip to main content
Visual C++ Samples 
WebDbg Sample: A Client for Debugging Server Applications Using CDebugReportHook 

Download sample

Demonstrates client code for CDebugReportHook in the form of an MFC application providing a user interface for debugging server applications.

Security noteSecurity Note

This sample code is provided to illustrate a concept and should not be used in applications or Web sites, as it may not illustrate the safest coding practices. Microsoft assumes no liability for incidental or consequential damages should the sample code be used for purposes other than as intended.

Building and Running the Sample

It is not necessary to build this sample to see the tool in action. The executable file (WebDbg.exe) is shipped with Visual Studio in the Common7\Tools directory. Instructions for use can be found in the topics on Viewing Trace Messages and Handling Asserts and CDebugReportHook.

See Also