How to debug AS400 RGPILE program when there DBGVIEW is set to *none

899 views Asked by At

My company has recently modified the way RPGILE and CL programs are compiled and delivered to our clients. All programs are set to DBGVIEW *NONE and no source is set to any client system. When you try to debug a program all you see is Program X cannot be debugged.

Is there any way we can debug a program set like this?

1

There are 1 answers

2
Charles On

Short answer, no.

Long answer, for currently supported release of IBM i OS, use the
Debug encryption key (DBGENCKEY) and DBGVIEW(*LIST)

parameters of the compile commands to include an encrypted copy of the source with the program objects.

Optionally, if you use DBGVIEW(*SOURCE) along with RDi for debugging, I believe you can point RDi to the source on your PC.