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: