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

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

Annoying with F10 While debugging

View previous topic View next topic Go down

Annoying with F10 While debugging

Post  maran on 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)
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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