ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/trace.htm

76 lines
4.9 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Use traces" />
<meta name="abstract" content="A trace is the process of recording the sequence in which the statements in a program are processed." />
<meta name="description" content="A trace is the process of recording the sequence in which the statements in a program are processed." />
<meta name="DC.subject" content="adding, trace to program, adding to program, example, trace to program, see='breakpoint'.trace, description, program, adding trace to" />
<meta name="keywords" content="adding, trace to program, adding to program, example, trace to program, see='breakpoint'.trace, description, program, adding trace to" />
<meta name="DC.Relation" scheme="URI" content="opm.htm" />
<meta name="DC.Relation" scheme="URI" content="adtrc.htm" />
<meta name="DC.Relation" scheme="URI" content="instp.htm" />
<meta name="DC.Relation" scheme="URI" content="usbkp.htm" />
<meta name="DC.Relation" scheme="URI" content="rmtrs.htm" />
<meta name="DC.Relation" scheme="URI" content="rmtrp.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/addtrc.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dsptrcdta.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="trace" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Use traces</title>
</head>
<body id="trace"><a name="trace"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use traces</h1>
<div><p>A trace is the process of recording the sequence in which the statements
in a program are processed. </p>
<div class="section"> <p>A trace differs from a breakpoint in that you are not given control
during the trace. The system records the traced statements that were processed.
However, the trace information is not automatically displayed
when the program completes processing. You must request the display of trace
information using the <span class="cmdname">Display Trace Data (DSPTRCDTA)</span> command.
The display shows the sequence in which the statements were processed and,
if requested, the values of the variables specified on the <span class="cmdname">Add Trace
(ADDTRC)</span> command.</p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="adtrc.htm">Add traces to programs</a></strong><br />
Adding a trace consists of specifying what statements are to be traced and, if you want, the names of program variables.</li>
<li class="ulchildlink"><strong><a href="instp.htm">Use instruction stepping</a></strong><br />
You can step through the instructions of a program by using the <span class="cmdname">Start
Debug (STRDBG)</span> or <span class="cmdname">Change Debug (CHGDBG)</span> commands.</li>
<li class="ulchildlink"><strong><a href="usbkp.htm">Use breakpoints within traces</a></strong><br />
Breakpoints can be used within a trace range.</li>
<li class="ulchildlink"><strong><a href="rmtrs.htm">Remove trace information from the system</a></strong><br />
You can specify whether the trace information is removed from the system or left on the system after the information is displayed.</li>
<li class="ulchildlink"><strong><a href="rmtrp.htm">Remove traces from programs</a></strong><br />
You can remove all or some of the trace ranges that you specified.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="opm.htm" title="You can debug your OPM programs by using testing functions.">Debug OPM programs</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/addtrc.htm">Add Trace (ADDTRC) command</a></div>
<div><a href="../cl/dsptrcdta.htm">DisplayTrace Data (DSPTRCDTA) command</a></div>
</div>
</div>
</body>
</html>