65 lines
4.1 KiB
HTML
65 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="task" />
|
||
|
<meta name="DC.Title" content="Debug at the machine interface level" />
|
||
|
<meta name="abstract" content="You can debug your programs at the machine interface (MI) level." />
|
||
|
<meta name="description" content="You can debug your programs at the machine interface (MI) level." />
|
||
|
<meta name="DC.subject" content="debugging, machine interface level, see='user profile'.security, debugging consideration" />
|
||
|
<meta name="keywords" content="debugging, machine interface level, see='user profile'.security, debugging consideration" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="opm.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="adtrc.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="dbgmi" />
|
||
|
<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 at the machine interface level</title>
|
||
|
</head>
|
||
|
<body id="dbgmi"><a name="dbgmi"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Debug at the machine interface level</h1>
|
||
|
<div><p>You can debug your programs at the machine interface (MI) level.</p>
|
||
|
<div class="section"> <p>To debug your programs at the machine interface (MI) level, you
|
||
|
can specify an MI object definition vector (ODV) number for the PGMVAR parameter
|
||
|
of a command and MI instruction numbers for the STMT parameter of a command.
|
||
|
For a breakpoint, the system stops at the MI instruction number just as it
|
||
|
would at an HLL statement number. You must always precede the ODV or MI instruction
|
||
|
number with a slash (/) and enclose it in apostrophes (for example, <samp class="codeph">'/1A'</samp>)
|
||
|
to signal to the system that you are debugging at the MI level.</p>
|
||
|
<div class="p">The
|
||
|
ODV and MI instruction numbers can be obtained from the IRP listing produced
|
||
|
by most high-level language compilers. Use the *LIST value of the GENOPT
|
||
|
parameter to produce the IRP listing at program creation time. <div class="note"><span class="notetitle">Note:</span> When
|
||
|
you debug at the machine interface level, only the characteristics that are
|
||
|
defined at the machine interface level are available; the HLL characteristics
|
||
|
that are normally passed to the test environment are not available. These
|
||
|
HLL characteristics may include: the variable type, number of fractional digits,
|
||
|
length, and array information. For example, a numeric variable in your HLL
|
||
|
program may be displayed without the correct decimal alignment or possibly
|
||
|
as a character string.</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<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="reltasks"><strong>Related tasks</strong><br />
|
||
|
<div><a href="adtrc.htm" title="Adding a trace consists of specifying what statements are to be traced and, if you want, the names of program variables.">Add traces to programs</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|