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

<html>

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

<head>

<title>Review Tool Overview</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=1436>
<meta name=layout-width content=655>
<meta name=date content="04 2, 2004 3:33:46 PM">


<!--(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>Review Tool</h1>

<h5>The Review Tool</h5>

<p CLASS=Paragraph>The Review Tool assists you in debugging your Post program.</p>

<p CLASS=Paragraph>The review tool can be found in the TCL file named <span 
 style="font-weight: bold;">mom_review.tcl</span>.</p>

<p CLASS=Paragraph>The Post review tool allows you to view the events, 
 their associated variables and addresses, as well as the output generated 
 by the Post program in a single window.</p>

<h5>Activating the Review Tool</h5>

<p CLASS=Paragraph>To activate the Review Tool, two things must be done.</p>

<p CLASS=Paragraph>First, the file <span style="font-weight: bold;">mom_review.tcl</span> 
 must be &quot;sourced&quot; at the beginning of the event handler file. 
 This file contains the review tool and should be specified with the complete 
 path, as shown in the following example:</p>

<p CLASS=ListBulletTxt>source /usr/eds105/mom_tools/mom_review.tcl<br>
source ${cam_debug_dir}mom_review.tcl</p>

<p CLASS=Paragraph>Second, the debug mode must be turned on by placing 
 the following command immediately after the &quot;source mom_debug.tcl&quot; 
 statement in the event handler.</p>

<p CLASS=ListBulletTxt>MOM_set_debug_mode ON</p>

<p CLASS=Paragraph>To have the review tool available at all times in the 
 event handler, place these statements in the script, but outside of the 
 procedure.</p>

<p CLASS=Paragraph>After after activating the review tool as described 
 above, the dialog shown in the following figure is displayed when the 
 postprocessor is executed.</p>

<h1><a NAME=review_tool_dialog></a>The Review Tool Dialog</h1>

<p CLASS=Paragraph>The Debug dialog allows you to specify the type of information 
 that you want to see for each event.</p>

<p CLASS=Image
	style="text-align: center; margin-left: 200px;"
	align=center><img src="../graphics/debug_evenfi02.gif"
						x-maintain-ratio=true
						style="border-style: none;
								margin-top: 0px;
								margin-bottom: 0px;
								margin-left: 0px;
								margin-right: 0px;
								width: 193px;
								height: 236px;
								float: none;"
						width=193
						height=236
						border=0></p>

<p CLASS=Figure
	style="text-align: center;"
	align=center>Review Tool</p>

<p CLASS=Paragraph>The Post Review Tool dialog consists of three list boxes, 
 each having horizontal and vertical scroll bars to assist you in viewing 
 the information.</p>

<p CLASS=Paragraph>The left list box displays all the events in the sequence 
 they have been triggered during processing. Each event is displayed with 
 the appropriate event number.</p>

<p CLASS=Paragraph>The center list box displays the variables and addresses 
 associated with a particular event.</p>

<p CLASS=Paragraph>The right list box displays the output generated by 
 the postprocessor.</p>

<p CLASS=Paragraph>The Review Tool dialog options are described as follows:</p>

<h2>Range of Events</h2>

<p CLASS=Paragraph>By switching this toggle button ON and specifying the 
 &quot;From&quot; event number and the &quot;To&quot; event number and 
 choosing OK, you can display only the events occurring within the specified 
 range. The information related to events occurring outside of the specified 
 range will not be displayed.</p>

<h2>OK</h2>

<p CLASS=Paragraph>Causes the specified range of events and associated 
 information to be displayed.</p>

<h2>EXIT</h2>

<p CLASS=Paragraph>Allows you to exit the Review Tool and return to NX.</p>

<h1><a NAME=using_the_output_analyser></a>Using the Review Tool</h1>

<p CLASS=Paragraph>Selecting an event in the left list box will cause the 
 review tool to display the event, with its associated variables and addresses 
 and the values assigned to them, in the center list box. The output generated 
 from the event is highlighted in the right list box.</p>

<p CLASS=Paragraph>If no output is generated from an event, the words &quot;No 
 Output From Event&quot; is highlighted in the right list box.</p>

<p CLASS=Paragraph>Selecting a line of output in the right list box will 
 cause the review tool to display the event that generated it with its 
 associated variables and addresses and the values assigned to them in 
 the center list box. This allows you to quickly determine the events, 
 variables and addresses used in generating the output.</p>

<p CLASS=Paragraph
	style="margin-bottom: 0;">Selecting a variable listed in the center 
 list box will cause the review tool to display in the left list box, the 
 value assigned to that variable by each event that uses the variable. 
 This allows you to see how the selected variable is assigned values across 
 various events. </p>

</body>

</html>
