I have a problem debugging RPGIV programs.
STRISDBG doesn't work so I compile the RPGIV program
with the debugging view parameter set to '*SOURCE'.
I can then debug the program with STRDBG in a code view
session. The only problem is that I can't set up a break condition with more than one condition i.e.
BREAK 500 WHEN VAR1 > 10 AND VAR2 = 'A'
The debugger only accepts
BREAK 500 WHEN VAR1 > 10
or
BREAK 500 WHEN VAR2 = 'A'
Am I doing something silly or is there a way round this problem?
STRISDBG doesn't work so I compile the RPGIV program
with the debugging view parameter set to '*SOURCE'.
I can then debug the program with STRDBG in a code view
session. The only problem is that I can't set up a break condition with more than one condition i.e.
BREAK 500 WHEN VAR1 > 10 AND VAR2 = 'A'
The debugger only accepts
BREAK 500 WHEN VAR1 > 10
or
BREAK 500 WHEN VAR2 = 'A'
Am I doing something silly or is there a way round this problem?