 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Debugging RPGLE Program</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/debuging-rpgle-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/debuging-rpgle-program/</link>
	<description></description>
	<lastBuildDate>Sun, 26 May 2013 01:40:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debuging-rpgle-program/#comment-70532</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Tue, 17 Nov 2009 20:52:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-70532</guid>
		<description><![CDATA[IMHO, you would be MUCH better off to recompile the program with *LIST or *ALL.]]></description>
		<content:encoded><![CDATA[<p>IMHO, you would be MUCH better off to recompile the program with *LIST or *ALL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debuging-rpgle-program/#comment-70367</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 13 Nov 2009 06:11:05 +0000</pubDate>
		<guid isPermaLink="false">#comment-70367</guid>
		<description><![CDATA[The purpose is to debug by statement numbers. It&#039;s rarely used except in some pretty limited circumstances. You might find much more use for it if you wrote some of your debug routines using the debug APIs. About the only way to demonstrate is to STRDBG and then run a BR 1 debug command before exiting out of debug. Then call the program to see what happens.

You can step through with &lt;F10&gt; as usual. You can run debug EVAL commands or any others.

Of course, you will need a listing to keep track, and the nicer bits like pressing &lt;F11&gt; while the cursor is on a variable aren&#039;t possible. But it allows you to debug without needing to link to source nor shipping a program with all of its details stored inside for the world to uncover.

Tom]]></description>
		<content:encoded><![CDATA[<p>The purpose is to debug by statement numbers. It&#8217;s rarely used except in some pretty limited circumstances. You might find much more use for it if you wrote some of your debug routines using the debug APIs. About the only way to demonstrate is to STRDBG and then run a BR 1 debug command before exiting out of debug. Then call the program to see what happens.</p>
<p>You can step through with &lt;F10&gt; as usual. You can run debug EVAL commands or any others.</p>
<p>Of course, you will need a listing to keep track, and the nicer bits like pressing &lt;F11&gt; while the cursor is on a variable aren&#8217;t possible. But it allows you to debug without needing to link to source nor shipping a program with all of its details stored inside for the world to uncover.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maxb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debuging-rpgle-program/#comment-70353</link>
		<dc:creator>maxb</dc:creator>
		<pubDate>Thu, 12 Nov 2009 22:58:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-70353</guid>
		<description><![CDATA[One thing more if you are using a library that is production you must use  UPDPROD(*YES).]]></description>
		<content:encoded><![CDATA[<p>One thing more if you are using a library that is production you must use  UPDPROD(*YES).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debuging-rpgle-program/#comment-70322</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Thu, 12 Nov 2009 16:11:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-70322</guid>
		<description><![CDATA[This is straight from the help panel of the CRTBNDRPG command.

                Debugging views (DBGVIEW) - Help            
                                                           
  Specifies which level of debugging is available for the  
  compiled program object, and which source views are      
  available for source-level debugging.                    


*STMT                                                   
    Allows the program object to be debugged using the  
    Line Numbers or Statement Numbers of the compiler   
    listing. Line Numbers are shown on the left-most    
    column of the source section of the compiler listing
    when OPTION(*NOSRCSTMT) is specified. Statement     
    Numbers are shown on the right-most column of the   
   source section of the compiler listing when  
   OPTION(*SRCSTMT) is specified.              

*SOURCE                                                    
    Generates the source view for debugging the compiled   
    program object.  This view is not available if the     
    root source member is a DDM file.  Also, if changes    
    are made to any source members after the compile and   
    before attempting to debug the program, the views for  
    those source members may not be usable.                

*LIST                                                       
    Generates the listing view for debugging the compiled   
    program object.  The information contained in the       
    listing view is dependent on whether *SHOWCPY,          
    *EXPDDS, and *SRCSTMT are specified for the OPTION      
    parameter.                                              
                                                            
        Note:  The listing view will not show any           
        indentation which you may have requested using the  
        Indent option.    

 *COPY                                                       
     Generates the source and copy views for debugging the   
     compiled program object.  The source view for this      
     option is the same source view generated for the        
     *SOURCE option.  The copy view is a debug view which    
     has all the /COPY source members included.  These       
     views are not available if the root source member is a  
     DDM file.  Also, if changes are made to any source      
     members after the compile and before attempting to      
     debug the program, the views for those source members   
     may not be usable.     
                                 
 *ALL                                                        
     Generates the listing, source and copy views for        
     debugging the compiled program object.  The             
     information contained in the listing view is dependent  
     on whether *SHOWCPY, *EXPDDS, and *SRCSTMT are          
     specified for the OPTION parameter.                     
                                                             
 *NONE                                                       
     Disables all of the debug options for debugging the     
     compiled program object.]]></description>
		<content:encoded><![CDATA[<p>This is straight from the help panel of the CRTBNDRPG command.</p>
<p>                Debugging views (DBGVIEW) &#8211; Help            </p>
<p>  Specifies which level of debugging is available for the<br />
  compiled program object, and which source views are<br />
  available for source-level debugging.                    </p>
<p>*STMT<br />
    Allows the program object to be debugged using the<br />
    Line Numbers or Statement Numbers of the compiler<br />
    listing. Line Numbers are shown on the left-most<br />
    column of the source section of the compiler listing<br />
    when OPTION(*NOSRCSTMT) is specified. Statement<br />
    Numbers are shown on the right-most column of the<br />
   source section of the compiler listing when<br />
   OPTION(*SRCSTMT) is specified.              </p>
<p>*SOURCE<br />
    Generates the source view for debugging the compiled<br />
    program object.  This view is not available if the<br />
    root source member is a DDM file.  Also, if changes<br />
    are made to any source members after the compile and<br />
    before attempting to debug the program, the views for<br />
    those source members may not be usable.                </p>
<p>*LIST<br />
    Generates the listing view for debugging the compiled<br />
    program object.  The information contained in the<br />
    listing view is dependent on whether *SHOWCPY,<br />
    *EXPDDS, and *SRCSTMT are specified for the OPTION<br />
    parameter.                                              </p>
<p>        Note:  The listing view will not show any<br />
        indentation which you may have requested using the<br />
        Indent option.    </p>
<p> *COPY<br />
     Generates the source and copy views for debugging the<br />
     compiled program object.  The source view for this<br />
     option is the same source view generated for the<br />
     *SOURCE option.  The copy view is a debug view which<br />
     has all the /COPY source members included.  These<br />
     views are not available if the root source member is a<br />
     DDM file.  Also, if changes are made to any source<br />
     members after the compile and before attempting to<br />
     debug the program, the views for those source members<br />
     may not be usable.     </p>
<p> *ALL<br />
     Generates the listing, source and copy views for<br />
     debugging the compiled program object.  The<br />
     information contained in the listing view is dependent<br />
     on whether *SHOWCPY, *EXPDDS, and *SRCSTMT are<br />
     specified for the OPTION parameter.                     </p>
<p> *NONE<br />
     Disables all of the debug options for debugging the<br />
     compiled program object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajeshece</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/debuging-rpgle-program/#comment-70310</link>
		<dc:creator>rajeshece</dc:creator>
		<pubDate>Thu, 12 Nov 2009 13:30:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-70310</guid>
		<description><![CDATA[One More Thing: What is the purpose of this Option?]]></description>
		<content:encoded><![CDATA[<p>One More Thing: What is the purpose of this Option?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.015 seconds using memcached
Object Caching 324/327 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-26 08:33:12 -->