Compartir a través de


Sending the Startup Events

Now that the startup events have been implemented in TextInterpreter (see Creating the Event Classes), it is time to send them to the session debug manager (SDM). This is done through a helper method on the CEventBase class that takes all the parameters necessary to send the event to the SDM. This helper function will later be used to send other events to the SDM as well.

Discussion

Sending the startup events includes the following steps:

  1. Implementing SendEvent.

  2. Implementing ContinueFromSynchronousEvent.

  3. Sending Debug Engine and Program Creation Events.

  4. Implementing GetProgramID and GetThreadID.

  5. Sending Load-Complete and Entry-Point Events.

See Also

Concepts

Attaching the Program to the SDM