<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>Events For Debugging</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=1172>
<meta name=layout-width content=666>
<meta name=date content="10 24, 2005 8:51:21 AM">


<!--(Links)=========================================================-->

<link rel="StyleSheet" href="../../css/main_styles.css">



<!--(Style Sheet)===================================================-->

<style>
<!--
body {background-color: #ffffff;}
-->
</style>


</head>

<!--(Body)==========================================================-->


<body class="bodydocs" onLoad="top.pageLoader()" bgcolor="#FFFFFF">


<h1 CLASS=Section>Events For Debugging</h1>

<p CLASS=Paragraph>The following events have been supplied to support the 
 development of Post postprocessor debugging tools.</p>

<h1>Before Each Event</h1>

<h5 style="margin-left: 40px;">Event Name</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">MOM_before_each_event</span></p>

<h5 style="margin-left: 40px;">Description</h5>

<p CLASS=ListBulletTxt>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 <span style="font-weight: bold;">mom_debug_event_name</span>.</p>

<h1><a NAME=before_variable></a>Before Each Variable</h1>

<h5 style="margin-left: 40px;">Event Name</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">MOM_before_each_add_var</span></p>

<h5 style="margin-left: 40px;">Description</h5>

<p CLASS=ListBulletTxt>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 <span style="font-weight: bold;">mom_debug_assign_var</span> 
 in the format &lt;var_name&gt;=&lt;value&gt;.</p>

<h1><a NAME=before_address></a>Before Each Address</h1>

<h5 style="margin-left: 40px;">Event Name</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">MOM_before_load_address</span></p>

<h5 style="margin-left: 40px;">Description</h5>

<p CLASS=ListBulletTxt>If MOM_set_debug On has been executed this event 
 is automatically triggered before an address is loaded with a new variable.</p>

<h1><a NAME=catch_warn></a>Catch Warning</h1>

<h5 style="margin-left: 40px;">Event Name</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">MOM_catch_warning</span></p>

<h5 style="margin-left: 40px;">Description</h5>

<p CLASS=Paragraph>This event is triggered in case an error condition is 
 encountered by the Event Generator. The warning message is loaded into 
 the variable <span style="font-weight: bold;">mom_warning_info</span>.</p>

<h1><a NAME=end_debug></a>End Debug</h1>

<h5 style="margin-left: 40px;">Event Name</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">MOM_end_debug</span></p>

<h5 style="margin-left: 40px;">Description</h5>

<p style="text-align: left; margin-left: 80px;"
	align=left>This event is triggered whenever debugging is turned off. 
 You can then perform whatever action is needed to clean up after debug.</p>

<h1><a NAME=initialize_debug></a>Initialize Debug</h1>

<h5 style="margin-left: 40px;">Event Name</h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">MOM_init debug</span></p>

<h5 style="margin-left: 40px;">Description</h5>

<p style="text-align: left; margin-left: 80px;"
	align=left>This event is triggered whenever debugging is turned ON.</p>

<ul>
	
	<li class=kadov-P-CNote><p class=Note>For performance reasons, NX will 
 only call these debugging events if they exist in the currently loaded 
 event handler. </p></li>
</ul>

<p CLASS=Note
	style="margin-bottom: 0;">&nbsp;</p>

</body>

</html>
