|
Dave -
ADDTRC only works on OPM programs... ;-(
-sjl
"Dave Shaw" wrote in message
news:56a14478.036d810a.d4648.7697@xxxxxxxxxxxxx...
As an alternative to Code Coverage, there are also the ancient ADDTRC and
DSPTRCDTA commands in green screen debug. I used to love to hate them on
the S/38.
Dave Shaw
Sent from my Windows phone
-----Original Message-----
From: "Vernon Hamberg" <vhamberg@xxxxxxxxxxxxxxx>
Sent: 1/21/2016 3:42 PM
To: "RPG programming on the IBM i (AS/400 and iSeries)" <
rpg400-l@xxxxxxxxxxxx>
Subject: Re: what lines of code in program are executed.
Paul
I don't think so - I mean that the program was compiled to be
debuggable. From the reference, "The DEBUG keyword does not control
whether the module is created to be debuggable." It is there to add some
debugging aids, such as being able to use the DUMP operation in RPG, I
believe.
I haven't tried it, but maybe this means that code coverage can handle
CLLE and other languages. I also don't know if it works for OPM programs.
Cheers
Vern
On 1/21/2016 2:08 PM, Steinmetz, Paul wrote:
Vern,
Sounds familiar, you mean program compiled with
0001.00 H DEBUG
Paul
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Vernon Hamberg
Sent: Thursday, January 21, 2016 3:04 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: what lines of code in program are executed.
Tim
There's a fairly recent feature of RDi that can do this for you - it's
called Code Coverage - I think you have to have debug information, not sure.
HTH
Vern
On 1/21/2016 1:55 PM, tim wrote:
i have a huge program that i would like some kind of trace report--
showing what lines of code are executed. Its an RPGLE program.
Many users use this program during the day. If i counld dump all the
trace information into a file that would be great.
Any suggestions?
PS. This program does call other programs/services programs, but i am
only interested in the one programs lines executed.
This is the RPG programming on the IBM i (AS/400 and 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.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
--
This is the RPG programming on the IBM i (AS/400 and 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.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
--
This is the RPG programming on the IBM i (AS/400 and 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.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
--
This is the RPG programming on the IBM i (AS/400 and 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.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
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.