× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



As scott mentioned, *LIST embeds the compiler listing version of the
source into the *MODULE object.
That way, the program may be debugged even on another system, using the
source-level debugger.
*COPY is similar to *SOURCE but also expands the /COPY and externally
described data structures and embeds them into the *MODULE object.
*STMT only allows you to debug using the "old" System/38 system debug
commands ADDBKP, DSPPGMVAR, etc.
*NONE puts no debug stuff in your *MODULE objects, similar to the old
Remove Program Observability function on System/38. So not even the
system-level debugger will debug the program.
*ALL puts all debug views into the *MODULE which you can then select
from when you are debugging the program.

For programs of say 200 lines or less, I tend to use *SOURCE, however
for most source members, I typically use *LIST as it provides the
highest level of debug ability.

Bob Cozzi


> -----Original Message-----
> From: rpg400-l-admin@midrange.com
> [mailto:rpg400-l-admin@midrange.com] On Behalf Of Sunil Ramakumar
> Sent: Thursday, June 13, 2002 9:33 AM
> To: 'rpg400-l@midrange.com'
> Subject: **Debug options**
>
>
> Hai,
>       I am bit of a novice to RPG. I would like to know where
> and why do we use the various debug options. I always use the
> option *stmt when compiling and *source when debugging. I
> would like someone to tell me why we use the other options
> namely *list, *copy *all and *none. I was able to understand
> something regarding *copy *all and *none. But I have not
> understood what and where *list is for. Can somebody help me.
>
> Sunil
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L)
> mailing list To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.