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



On 3/8/2016 2:35 PM, tim wrote:
Not sure if this is the correct forum for this but here goes.

I have an RPG/ILE program that is used by multiple users. It has grown
from the system 34. There are close 10k lines of code in it.

I would like to run a "trace" over the program as it is run by the
users. I would like to track all the lines of code that are executed
within that ILE program along (not any service program or subsequent
called program).

Is this possible?

I think that you want to do code coverage.

RDi does this - almost. It is not intended to run all day collecting
statistics on what lines were touched. Instead, it is intended for you,
the developer, to run over a known test database so you can be sure you
have exercised all the code.

Edmund wrote about this on the WDSCi-L list:

Code Coverage has been out for a little while now and it is brand new
functionality that isn't just an incremental improvement on existing
features from WDSc etc.

In order to help people get comfortable with these new feature a new lab
has been added to the set of Hands-On labs so that anyone can play with
this and see how to apply this within the context of their own shop.

The entire set of labs is available at http://ibm.biz/rdi_labs
and the 10th lab is the brand new one. You will need at least
RDi 9.5 to try this and IBM supplies the IBM i backend.
Lab #1 will show you how to get a userid and connect to this
demo IBM i, and then you can jump right to the Lab #10
if you like.


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.