Tip

RPG ILE debug annoying you too?

You Can View User Feedback To This Tip

Debugging RPG ILE programs using the interactive source debugger. Does it annoy you too when stepping through the code using F10 and you reach a file operation it takes you to the file and steps through each and every field on the file?

Get annoyed no more! If you didn't know already, several others and I didn't, you can use a compile time option in the CRTBNDRPG command to stop this.

Simply set OPTION to *NODEBUGIO and the debugger should now step through all file operations as per normal operation codes!

USER FEEDBACK TO THIS TIP

  • An alternative way to stop RPG ILE debug from annoying you is to put the compiler overrides in the RPG ILE program itself. This keeps you from having to remember to change the command every time and is easilied copied into the program. I used the *srcstmt & *nodebugio in all my programs. Code: h option(*srcstmt:*nodebugio) — Al Nelson


This was first published in August 2001

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.