debugging a program object on i-series

1,150 pts.
Tags:
AS/400 debugging
iSeries
RPG
RPGLE
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

Thanks. We'll let you know when a new response is added.

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

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following