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

75 lines
4.8 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="Start the ILE source debugger" />
<meta name="abstract" content="After you create the debug view, you can begin debugging your application using the ILE source debugger." />
<meta name="description" content="After you create the debug view, you can begin debugging your application using the ILE source debugger." />
<meta name="DC.subject" content="source debugger, ILE, starting, ILE source debugger, debugging, ILE source debugger commands, starting ILE source debugger, ILE (Integrated Language Environment) model, starting source debugger" />
<meta name="keywords" content="source debugger, ILE, starting, ILE source debugger, debugging, ILE source debugger commands, starting ILE source debugger, ILE (Integrated Language Environment) model, starting source debugger" />
<meta name="DC.Relation" scheme="URI" content="dbgile.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/strdbg.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="strtiledb" />
<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>Start the ILE source debugger</title>
</head>
<body id="strtiledb"><a name="strtiledb"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Start the ILE source debugger</h1>
<div><p>After you create the debug view, you can begin debugging your application
using the ILE source debugger.</p>
<div class="section"> <p>To start the ILE source debugger, use the <span class="cmdname">Start Debug
(STRDBG)</span> command. Once the debugger is started, it remains active
until you enter the <span class="cmdname">End Debug (ENDDBG)</span> command.</p>
<p>Initially,
you can add as many as twenty (20) program objects and twenty (20) service
programs to a debug session. Do this by using the Program (PGM) and Service
Program (SRVPGM) parameters on the STRDBG command. The program objects can
be any combination of ILE or original program model (OPM) programs. To start
a debug session with three program objects, type: </p>
<pre>STRDBG PGM(*LIBL/MYPGM1 *LIBL/MYPGM2 *LIBL/MYPGM3) SRVPGM(*LIBL/SRVPGM1 *LIBL/SRVPGM2)
DBGMODSRC(*YES)</pre>
<div class="note"><span class="notetitle">Note:</span> You must have *CHANGE authority to a program object to add
it to a debug session.</div>
<p>After entering the <span class="cmdname">Start Debug (STRDBG)</span> command,
the Display Module Source display appears for ILE program objects. The first
module object bound to the program object with debug data is shown.</p>
<p> The
option to use the ILE source debugger to debug OPM programs exists for users.
OPM programs contain source debug data when created. Do this only by specifying
either the OPTION(*SRCDBG) or the OPTION(*LSTDBG) parameter of the <span class="cmdname">Create
CL Program (CRTCLPGM)</span> command. The source debug data is actually
part of the program object.</p>
<p>To add OPM programs that are created containing
source debug data to the ILE source debugger, use the Program (PGM) and OPM
Source Level Debug (OPMSRC) parameters on the <span class="cmdname">Start Debug (STRDBG)</span> command.
To start a debug session with an OPM program created with source debug data,
type: </p>
<pre><span><samp class="codeph">STRDBG PGM(*LIBL/MYOPMPGM) OPMSRC(*YES) DSPMODSRC(*YES)</samp></span></pre>
</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="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/strdbg.htm">Start Debug (STRDBG) command</a></div>
</div>
</div>
</body>
</html>