Terminating the Text Interpreter

When the program has completed execution (either because the user terminated the program or the program ran to completion), the session debug manager needs to be told the program is done. This is signaled with the IDebugProgramDestroyEvent2 event. In addition, the program node originally published with the IDebugProgramPublisher2 interface needs to be “unpublished” so that it is longer available for debugging.

Process

Terminating the text interpreter and debug engine consists of the following steps:

  1. Implementing the Program Destroy Event.

  2. Implementing NotifyProgramEnd.

See Also

Tasks

Tutorial: Building a Debug Engine Using ATL COM