STRSRCDBG: This tool was deemed inefficient on the AS400. I don't believe
it but it was taken away( it was a free software tool with no source but IT
WORKED). Now we struggle with trying to debug programs.
STRISDB: Works ok providing you write down or remember every parameter
being passed so you can call it. You can not use the menu system while in
debug mode. Therefore you can not run a few processes without going in and
out of debug mode at the right step. I prefer leaving the debug on and
using the menu at the same time. The debug tool should recognize the
program when it is called.
EXTERMINATE: Works similar to STRISDB and maybe worse. We had a demo
version here but it is not much better.
Can you help?? We need it to work with our menus.
Thanking you in advance,
Shelley Hunter (srhu...@mccain.ca)
McCain Foods Ltd.
Can you fill us in on a few details?
1) What release of OS/400 are you running?
2) Are you trying to debug ILE, OPM or both?
3) Why specifically can you not debug programs using your menu system?
Gary Guthrie
Shelley Rea Hunter wrote:
>
> We need an interactive source debugger that will work with the menu
> structure currently in place. The tools used so far are:
>
> STRISDB: Works ok .... You can not use the menu system while in
> debug mode. Therefore you can not run a few processes without going in and
> out of debug mode at the right step. I prefer leaving the debug on and
> using the menu at the same time. The debug tool should recognize the
> program when it is called.
>
This procedure will not work for STRISDB. STRISDB requires that the job
be active. In other words, the job cannot be held when STRISDB is
issued. (At least as of V3R1)
See "Painless Batch Debugging", in the March, 1996 issue of News/400
where I describe batch debugging techniques for both STRDBG and STRISDB.
Gary Guthrie
STRISDB for the program, specifying *NO for the invoke program
parameter. You will not need to pass any parameters.
When the command line is displayed, use GO MenuName (or whatever you do
to display your menu) and take the option to run the program.
The parameters will be passed from your menu program, the source will
pop up and you can set any breakpoints you wish and instruct the
debugger to continue.
Gary Guthrie