15 pts.
 AS/400 Debugging
Hi I am using STRISDB to debug my COBOL/400 progra. My object and source are in same libary. But, the debuggin is not working well. It's not executing all the lines and it's executing both the IF statement and else statements. It's behaving mysterically. Could some one explain why this type of behaviour can happen with debugging. Thanks in advance. Babu

Software/Hardware used:
ASKED: April 6, 2009  6:11 AM
UPDATED: April 8, 2009  12:35 AM

Answer Wiki:
Hi, Have you checked whether the source change date/time reported by the program object is the same as the last date/time the source was changed? Regards, Martin Gilbert.
Last Wiki Answer Submitted:  April 6, 2009  8:48 am  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

Yes Martin,

The times are same. Once we updated the source we compiled and created the object.
We are really worrying about this. Could you explain if there are any other reasons for the ISDB failure.

 15 pts.

 

Hi,

When you’re running in the ISDB – check which programs you have active in your stack, maybe you’re running a different version of the program object from another library?

When you start ISDB, try specifying the source file to make sure that you get the right source file for the program.

Regards,

Martin Gilbert.

 23,625 pts.

 

Try using the graphical debugger. If you don’t want to use that, at least use STRDBG. But usually in a case like this, its because the source code it found doesn’t match the compiled object. Is there another version of the source in the libl ?

 3,115 pts.