Events For Debugging

The following events have been supplied to support the development of Post postprocessor debugging tools.

Before Each Event

Event Name

MOM_before_each_event

Description

If MOM_set_debug ON has been executed this event is automatically triggered by each event that is triggered by the Event Generator. The event name will be loaded into the variable mom_debug_event_name.

Before Each Variable

Event Name

MOM_before_each_add_var

Description

If MOM_set_debug ON has been executed this event is automatically triggered just before a variable is loaded. The variable name and its value will be loaded into mom_debug_assign_var in the format <var_name>=<value>.

Before Each Address

Event Name

MOM_before_load_address

Description

If MOM_set_debug On has been executed this event is automatically triggered before an address is loaded with a new variable.

Catch Warning

Event Name

MOM_catch_warning

Description

This event is triggered in case an error condition is encountered by the Event Generator. The warning message is loaded into the variable mom_warning_info.

End Debug

Event Name

MOM_end_debug

Description

This event is triggered whenever debugging is turned off. You can then perform whatever action is needed to clean up after debug.

Initialize Debug

Event Name

MOM_init debug

Description

This event is triggered whenever debugging is turned ON.