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

166 lines
10 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="Debug commands" />
<meta name="abstract" content="Many debug commands are available for use with the ILE source debugger." />
<meta name="description" content="Many debug commands are available for use with the ILE source debugger." />
<meta name="DC.subject" content="debug, command" />
<meta name="keywords" content="debug, command" />
<meta name="DC.Relation" scheme="URI" content="dbgile.htm" />
<meta name="DC.Relation" scheme="URI" content="addpgmdb.htm" />
<meta name="DC.Relation" scheme="URI" content="brclear.htm" />
<meta name="DC.Relation" scheme="URI" content="srcbp.htm" />
<meta name="DC.Relation" scheme="URI" content="eval.htm" />
<meta name="DC.Relation" scheme="URI" content="chgvarval.htm" />
<meta name="DC.Relation" scheme="URI" content="attrv.htm" />
<meta name="DC.Relation" scheme="URI" content="equat.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="dbpgm" />
<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>Debug commands</title>
</head>
<body id="dbpgm"><a name="dbpgm"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Debug commands</h1>
<div><p>Many debug commands are available for use with the ILE source debugger. </p>
<p>The debug commands and their parameters are entered on the debug command
line displayed on the bottom of the Display Module Source and Evaluate Expression
displays. These commands can be entered in upper case, lower case, or mixed
case. </p>
<div class="note"><span class="notetitle">Note:</span> The debug commands entered on the source debugger command line are not
CL commands.</div>
<p>The table below summarizes these debug commands. The online help for the
ILE source debugger describes the debug commands and explains their allowed
abbreviations.</p>
<div class="tablenoborder"><a name="dbpgm__dbgcmd"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="dbpgm__dbgcmd" width="100%" frame="border" border="1" rules="all"><caption>Table 1. ILE source debugger commands</caption><thead align="left"><tr><th align="left" valign="bottom" width="20%" id="d0e64">Debug Command</th>
<th align="left" valign="bottom" width="80%" id="d0e66">Description</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="20%" headers="d0e64 ">ATTR</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Permits you to display the attributes of
a variable. The attributes are the size and type of the variable as recorded
in the debug symbol table.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">BREAK</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Permits you to enter either an unconditional
or conditional breakpoint at a position in the program being tested. Use BREAK <span class="synph"><span class="var">position</span></span> WHEN <span class="synph"><span class="var">expression</span></span> to enter a conditional breakpoint.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">SBREAK</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Permits you to enter a service entry point
at a position in the program being tested. A service entry point is a type
of breakpoint established in a program to facilitate the system debugger in
gaining control of a spawned job. The breakpoint is only signaled when the
job within which the service entry point was hit is not currently under debug.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">CLEAR</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Permits you to remove conditional and unconditional
breakpoints.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">DISPLAY</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Allows you to display the names and definitions
assigned by using the EQUATE command. It also allows you to display a different
source module than the one currently shown on the Display Module Source display.
The module object must exist in the current program object.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">EQUATE</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Allows you to assign an expression, variable,
or debug command to a name for shorthand use.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">EVAL</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Allows you to display or change the value
of a variable or to display the value of expressions.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">QUAL</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Allows you to define the scope of variables
that appear in subsequent EVAL commands.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">STEP</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Allows you to run one or more statements
of the program being debugged.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">FIND</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Searches the module currently displayed for
a specified line-number or string of text.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">UP</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Moves the displayed window of source towards
the beginning of the view by the amount entered.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">DOWN</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Moves the displayed window of source towards
the end of the view by the amount entered.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">LEFT</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Moves the displayed window of source to the
left by the number of characters entered.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">RIGHT</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Moves the displayed window of source to the
right by the number of characters entered.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">TOP</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Positions the view to show the first line.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">BOTTOM</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Positions the view to show the last line.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">NEXT</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Positions the view to the next breakpoint
in the source currently displayed.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">PREVIOUS</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Positions the view to the previous breakpoint
in the source currently displayed.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">HELP</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Shows the online help information for the
available source debugger commands.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">SET</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Allows you to change debug options such as
case sensitivity for FIND requests, whether or not production files may be
updated while in debug mode, and the enabling or disabling of original program
model (OPM) source debug support.</td>
</tr>
<tr><td align="left" valign="top" width="20%" headers="d0e64 ">WATCH</td>
<td align="left" valign="top" width="80%" headers="d0e66 ">Displays a list of the currently active watch
conditions.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<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 class="reltasks"><strong>Related tasks</strong><br />
<div><a href="addpgmdb.htm" title="You can add more program objects to a debug session after starting the session.">Add program objects to a debug session</a></div>
<div><a href="chgvarval.htm" title="You can change the value of variables by using the EVAL command with the assignment operator (=).">Change the value of variables</a></div>
<div><a href="equat.htm" title="You can use the EQUATE debug command to equate a name with a variable, expression or debug command for shorthand use.">Equate a name with a variable, expression, or command</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="brclear.htm" title="An alternate method of setting and removing conditional breakpoints is to use the BREAK and CLEAR debug commands.">Use the BREAK and CLEAR debug commands</a></div>
<div><a href="srcbp.htm" title="There are three ways to set and remove conditional breakpoints.">Set and remove conditional breakpoints</a></div>
<div><a href="eval.htm" title="You can display the value of variables using the Display Module Source display or the EVAL debug command.">Display variables</a></div>
<div><a href="attrv.htm" title="You can display the attributes of a variable using the Attribute (ATTR) debug command. The attributes are the size (in bytes) and type of the variable.">Display variable attributes</a></div>
</div>
</div>
</body>
</html>