× 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.



Say you send a program to someone but don't want them to be able to see
your code through a source or listing view. If it has a statement view, you
can still debug it on their system if you have your listing.

I had never thought of it in this way. I think I know have a use for
*STMT! Thanks Barbara!

Aaron Bartell
http://mowyourlawn.com

On Thu, Jun 19, 2008 at 7:55 PM, Barbara Morris <bmorris@xxxxxxxxxx> wrote:

James Lampert wrote:
Just out of morbid curiosity (and with no hostility):

Does DBGVIEW(*STMT) actually serve any useful purpose? It always seems
to me that if I do a STRDBG on a program that was compiled with this
default value, it brings up the ILE source level debugger, with no
source, and no obvious way to do anything.


Some level of debug view is necessary to support the formatted dump. If
I recall correctly, it's because of the formatted dump that ILE RPG and
ILE COBOL default to the statement view rather than defaulting to *NONE.

It's possible to debug from the statement view, but you pretty much need
to have a listing available. It's almost as awkward as the old strdbg +
addbkp + dsppgmvar, brrr.

Say you send a program to someone but don't want them to be able to see
your code through a source or listing view. If it has a statement view,
you can still debug it on their system if you have your listing.

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
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.