1,150 pts.
 debugging a program object on i-series
Hi anybody tell me if it is possible to debug a program object CLP/CLLE/RPG/RPGLE if i dont have the source with me.

Software/Hardware used:
IBM i,V6R1
ASKED: April 15, 2010  12:30 PM
UPDATED: April 16, 2010  11:13 PM

Answer Wiki:
As long as it was compiled with some some level of debug information, yes. Ideally (without source), DBGVIEW(*LIST) would be far better than DBGVIEW(*STATEMENT). For ILE, use DSPPGM and either page forward to the *MODULE detail or specify DETAIL(*MODULE) to see if debug data was left in the *PGM object. For OPM, it's not so easy to see if debug data exists, but you can use DMPOBJ to learn a lot about what's left in the object. And for OPM or ILE, you might simply use STRDBG against the program to see if a debug view is presented. (For OPM, be sure to specify the OPMSRC(*YES) parameter. Tom
Last Wiki Answer Submitted:  April 16, 2010  11:13 pm  by  TomLiotta   108,135 pts.
All Answer Wiki Contributors:  TomLiotta   108,135 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _