Informix Error -16338
-16338 Cannot continue execution.
You cannot invoke CONTINUE or STEP commands unless a 4GL program has begun (but not terminated) execution. If the program is terminated normally or by a fatal error, use CALL or RUN. After execution begins, you must then suspend execution by a breakpoint (or, in UNIX environments, by an Interrupt command) before you can invoke CONTINUE or STEP. See also the section on "Active Functions and Variables" in the Debugger manual.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16338 fires when CONTINUE/STEP is invoked while the 4GL program isn't in a state that
allows continuing execution — per the official guidance.
- The program not yet started, or already terminated, per the official guidance — use
CALL/RUNto start it instead. - The program running but not yet suspended at a breakpoint (or, on UNIX, by an Interrupt
command), per the official guidance —
CONTINUE/STEPrequire execution to be suspended first.
Solutions / Resolution
- Use
CALLorRUNto start the program, per the official guidance, if it hasn't started or has terminated. - Suspend execution via a breakpoint (or Interrupt on UNIX) before using
CONTINUE/STEP, per the official guidance. - See "Active Functions and Variables" in the Debugger manual, per the official guidance, for more detail.
Examples
CONTINUE before the program has started
> CONTINUE
Corrected
> RUN
> BREAK mymodule.10
> CONTINUE
Diagnostic Checks
- Check whether the program has started, terminated, or is currently suspended at a
breakpoint before issuing
CONTINUE/STEP.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -16338 in this set yet.
CONTINUE/STEP was issued when the program wasn't running-and-suspended — start it with
CALL/RUN and suspend it at a breakpoint first.