|
Jerry wrote:
>We are thinking of compiling all of our programs with DBGVIEW *ALL.
>Currently our programs are compiled with DBGVIEW *NONE. DBGVIEW *ALL
>more than doubles the size of the object. Can someone explain what the
>different debug views do? I have a choice of *STMT, *SOURCE, *LIST, and
>*COPY.
Here's a rough summary of the differences between the
different debug views:
*NONE: No debugging possible. Not very useful.
*STMT: You can do debugging, but you need a hardcopy
of the program listing on your desk.
*SOURCE: The debugger shows the source file used to
compile your program. But, your source files
need to be on the same system that you're
debugging on.
*COPY: Like *SOURCE, but /COPY members can be viewed
as well.
*LIST: The program object actually contains the compile
listing, so you can debug on any system. This
is the most flexible, but obviously, the cost is
very large program objects. (TANSTAAFL)
*ALL: The tables for *SOURCE, *COPY, and *LIST views
are all included and you can choose which view
to use while debugging. Press F15 while
displaying the module source.
>
>What we want is to be able to dump a program which has an execution
>error and view the contents of the fields, and to use IBM's source
>debugger without having to re-compile the program first. Also I'd like
>to know if there are performance issues associated with compiling with a
>debug view other than *NONE.
There is no performance difference when using any
DBGVIEW option. The debug information is used only
when you're debugging.
Cheers! Hans
Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.