PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Annoying with F10 While debugging

Go down

debugging - Annoying with F10 While debugging Empty Annoying with F10 While debugging

Post  maran Fri Dec 30, 2011 12:54 pm

I'm debugging an RPG IV program. The program hits a chain. The next step goes to the F spec for the file being accessed. I press F10 to step, but the cursor stays on the F spec until finally moving back into the program. Why does this happen, and is there some way to prevent it?

Answer:
The debugger steps once for each input (or output) specification in the record format. Put OPTION(*NODEBUGIO) in an H spec.

I recommend you also include the *SRCSTMT option, so that the compiler uses the sequence numbers from your source member:

OPTION(*SRCSTMT : *NODEBUGIO)
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum