75 lines
3.2 KiB
HTML
75 lines
3.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
|
<title>Using Source Debugger APIs</title>
|
|
<!-- Begin Header Records ========================================== -->
|
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
|
<!-- 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. -->
|
|
<!-- Change History: -->
|
|
<!-- YYMMDD USERID Change description -->
|
|
<!-- DEBUG1 SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
|
|
<!-- at RCHVMW2 on 29 Jan 1999 at 16:05:09 -->
|
|
<!-- Restructured for V5R2 ========================================== -->
|
|
<!-- End Header Records -->
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body>
|
|
<!--Java sync-link-->
|
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
|
</script>
|
|
|
|
|
|
|
|
<h2>Using Source Debugger APIs</h2>
|
|
|
|
<p>The Source Debugger APIs can be used to write debuggers for the iSeries<SUP>(TM)</SUP>. The
|
|
users of these APIs include:</p>
|
|
|
|
<ul>
|
|
<li>The source debugger that is shipped with the i5/OS<SUP>(R)</SUP> licensed program. A
|
|
<strong>source debugger</strong> is a tool for debugging Integrated Language
|
|
Environment (ILE) programs or original program model (OPM) programs by
|
|
displaying a representation of their source code.<br>
|
|
<br>
|
|
</li>
|
|
|
|
<li>Any other debugger that IBM<SUP>(R)</SUP> or a business partner writes.</li>
|
|
</ul>
|
|
|
|
<p>Debugger functions are designed to help you write and maintain your
|
|
applications. You can run your programs in a special testing environment while
|
|
closely observing and controlling the processing of these programs in the
|
|
testing environment. You can write a debugger application that interacts with
|
|
the APIs provided in this chapter, or you can use the debugger provided with
|
|
the system.</p>
|
|
|
|
<p>No special commands specifically for testing are contained in the program
|
|
being tested. The same program being tested can run normally without changes.
|
|
All debugger APIs must be called within the job in which the Start Debug
|
|
(STRDBG) command is issued. The debugger APIs should not be called from within
|
|
the program being tested. With the debugger APIs provided, you interact with
|
|
your programs symbolically in the same terms as the high-level language (HLL)
|
|
in the program. You refer to variables by their names and to locations as the
|
|
line and the column within a view. In addition, the debugger functions are only
|
|
applicable to the job in which they are set up. The same program can be used at
|
|
the same time in another job without being affected by the debugger functions
|
|
set up.</p>
|
|
|
|
<hr>
|
|
<center>
|
|
<table cellpadding="2" cellspacing="2">
|
|
<tr align="center">
|
|
<td valign="middle" align="center"><a href="debug1.htm">Debugger APIs</a> | <a
|
|
href="aplist.htm">APIs by category</a></td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|
|
|