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



This is a good thing to check for - I'm mostly using the green debugger, and I may get a message at the start that the source has changed. Or when stepping through, I'll stop on a comment or unexpected line.

F15 lets me see what views I have - there's something similar in the RDi or the graphical debugger. If I take the list view (assuming I have it), then I will be able to step through to what is really there. BUT it is probably not what I want, right?

I compile with DBGVIEW(*ALL) or with OPTION(*LSTDBG) so that I have the listing always available.

HTH
Vern

On 9/4/2015 8:34 AM, amunra@xxxxxx wrote:
I've seen this a lot of times.
Your have changed your source file.
Restart you session and check carefully*that you source file and PGM are
changed in the same time.
There is "Source file change date/time . . . " attribute on your pgm.

*
Regards, Alex.
*
*
*
04.09.2015, 16:26, "Kevin Bucknum" <Kevin@xxxxxxxxxxxxxxxxxxx>:

The debug processer does stop before the execution of the line. It does
execute, but the EXFMT doesn't occur. Think of the that line as short
cut for this:
If *IN99 = *On;
***EXFMT FORMATA;
EndIf;

The If is executed, but not the EXFMT.

Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: RPG400-L [mailto:[1]rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Bill
Howie
Sent: Friday, September 04, 2015 8:15 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Does line actually execute in debug?

Hello all,

I have a question. I'm running a program in debug and trying to figure
out
if a particular display format is being executed. I've set a
breakpoint
on the line and the program does stop there. However the actual
execution
of the line is dependent on an indicator like so:

99 EXFMT FORMATA

and the indicator is OFF at the time. I'm thinking that I'm correct in
saying that the debug processor stops before the execution of the actual
line. So technically if the indicator is off, this line is NOT getting
executed in any way. This program has several display formats that are
almost identical, and I check the open files directly after this
statement and it does not show this format being displayed.

Thoughts?

Thanks!

Bill

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: [2]RPG400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: [3]http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: [4]RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
[5]http://archive.midrange.com/rpg400-l.

*

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: [6]RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [7]http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: [8]RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [9]http://archive.midrange.com/rpg400-l.

*

References

Visible links
1. mailto:rpg400-l-bounces@xxxxxxxxxxxx
2. mailto:RPG400-L@xxxxxxxxxxxx
3. http://lists.midrange.com/mailman/listinfo/rpg400-l
4. mailto:RPG400-L-request@xxxxxxxxxxxx
5. http://archive.midrange.com/rpg400-l
6. mailto:RPG400-L@xxxxxxxxxxxx
7. http://lists.midrange.com/mailman/listinfo/rpg400-l
8. mailto:RPG400-L-request@xxxxxxxxxxxx
9. http://archive.midrange.com/rpg400-l


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.