DRA --> Program Logic Manual

Profile Event Handlers

When a Profile event occurs, Language Environment calls CEEEVPRF with the appropriate event code. The first module that receives control is DRAPH.

Profile Event handler modules:
module caller description calls...
DRAPH Language Environment when a Profile event occurs. checks the event code and passes control to another module that handles the particular event. If the event is of no interest then this module returns without doing anything.
DRAPH123 DRAPH when the event code is 123. This is event "external entry". It is the first event fired by Language Environment immediately after the Profile tool (DRA) is loaded.
DRAPH118 DRAPH when the event code is 118. This is event "enclave init". This event is fired by Language environment when the Enclave is successfully initialized.
DRAPH120 DRAPH when the event code is 120. This is event "thread init". The main routine if the application program is about to be called.
DRAPH101 DRAPH when the event code is 101. This is event "condition raised". It is fired by Language Environment during execution of the application program when a Condition is raised.
DRAPH127 DRAPH when the event code is 127. This is event "condition promote". It is fired by Language Environment during execution of the application program when a previously raised condition (event 101) was handled by a Condition handler who changed it into another Condition.
DRAPH103 DRAPH when the event code is 103. This is event "unhandled condition". It is fired by Language Environment during execution of the application program when a previously raised condition (event 101) was not handled by a Condition handler. This leads to termination of the Enclave.
DRAPH133 DRAPH when the event code is 133. This is event "execution hook invocation". It is fired by Language Environment during execution of the application program when a "hook" is encountered.
DRAPH122 DRAPH when the event code is 122. This is event "thread term". It is fired by Language Environment when the application program terminates.
DRAPH119 DRAPH when the event code is 119. This is event "enclave term". It is fired by Language Environment when the enclave is being terminated.