64 lines
4.1 KiB
HTML
64 lines
4.1 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="concept" />
|
|
<meta name="DC.Title" content="Use instruction stepping" />
|
|
<meta name="abstract" content="After a breakpoint is encountered, you can run a specified number of statements of a program object, then stop the program again." />
|
|
<meta name="description" content="After a breakpoint is encountered, you can run a specified number of statements of a program object, then stop the program again." />
|
|
<meta name="DC.Relation" scheme="URI" content="dbgile.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="clstepovr.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="clstepthrdg.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="cldbinstruction" />
|
|
<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 instruction stepping</title>
|
|
</head>
|
|
<body id="cldbinstruction"><a name="cldbinstruction"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Use instruction stepping</h1>
|
|
<div><p>After a breakpoint is encountered, you can run a specified number
|
|
of statements of a program object, then stop the program again.</p>
|
|
<p>After stopping the program, you return to the Display Module
|
|
Source display. The program object begins running on the next statement of
|
|
the module object in which the program stopped. Typically, a breakpoint is
|
|
used to stop the program object.</p>
|
|
<p>The simplest way to step through a program object one statement at a time
|
|
is to use F10 (Step) or F22 (Step into) on the Display Module Source display.
|
|
Step over is the default mode of F10 (Step). When you press F10 (Step) or
|
|
F22 (Step into), then next statement of the module object shown in the Display
|
|
Module Source display is run, and the program object is stopped again. </p>
|
|
<div class="note"><span class="notetitle">Note:</span> You cannot specify the number of statements to step through when you
|
|
use F10 (Step) or F22 (Step into). Pressing F10 (Step) or F22 (Step into)
|
|
performs a single step.</div>
|
|
<p>Another way to step through a program object is to use the STEP debug command.
|
|
The STEP debug command allows you to run more than one statement in a single
|
|
step.</p>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="clstepovr.htm">Use F10 (Step) or F22 (Step into)</a></strong><br />
|
|
When you step over the called program object, then the CALL statement and the called program object are run as a single step. When you step into the called program object, then each statement in the called program object is run as a single step.</li>
|
|
<li class="ulchildlink"><strong><a href="clstepthrdg.htm">Use the STEP debug command</a></strong><br />
|
|
The default number of statements to run, using the STEP debug command, is one. However you can change the step number.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dbgile.htm" title="You can debug your ILE programs by using the ILE source debugger.">Debug ILE programs</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |