Debug Hook Function Writing
Visual Studio 2012
This section describes a number of custom debug hook functions you can write that allow you to insert your code into some predefined points inside the debugger's normal processing.