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



David

When you say DBGVIEW(*ALL), you will have both source and listing available for debugging and maybe more, although I don't usually look for more. Source only puts the name of the source member into your program, and when you STRDBG, it tries to find it. The listing is part of the program object. It makes that object larger by the size of the source, thereabouts. This is not usually a problem, in my opinion.

What you are seeing is probably the listing - does it show you the contents of /copy members? That is a clue to me. You might try pressing F15 to see what debug views you have and pick the one that says RPGLE listing (in French, of course!!).

The listing is the most reliable, in my opinion, because it is the source from which the program was compiled.

Vern

On 8/12/2010 4:34 AM, David FOXWELL wrote:
-----Message d'origine-----
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de rob@xxxxxxxxx
Aren't there any issues with debugging? Aren't the source
files needed?
The source files are not needed. See CRTBNDRPG DBGVIEW(*LIST)
All our programs are compiled thus :
CRTRPGMOD MODULE(&OBJLIB/&PGM) SRCFILE(&SRCLIB/&SRCF)
DBGVIEW(*ALL)

Then CRTPGM, etc.

I needed to debug a pgm in a development library. The developer had compiled in a development source file QRPGLESRC, then copied to another source file used for the deployment, deleting the original in QRPGLESRC. When I do STRDBG, a source member shows up with the message<File QRPGLESRC not available> and<File source modified>. I don't know what source member is being displayed on the screen, but it doesn't seem to be usable for debugging.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.