Informix Error -16381: Cannot set breakpoint or tracepoint - no current module.
Cause and resolution
Cannot set breakpoint or tracepoint - no current module.
You cannot set a breakpoint or tracepoint without referencing a module or function unless a program module is in the Source window. You probably ignored an error message that appeared when you were unable to load a 4GL source file.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16381 fires when BREAK/TRACE is used without a module/function reference and no module
is currently in the Source window — per the official guidance.
- An earlier error message about a 4GL source file failing to load being ignored, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check for and resolve any earlier source-load failure, per the official guidance,
before setting a
BREAK/TRACEwithout an explicit module/function reference. - Specify the module or function explicitly in the
BREAK/TRACEcommand, as an alternative workaround.
Examples
N/A
No specific triggering statement is documented beyond no current module being loaded.
Diagnostic Checks
- Check for an earlier "cannot load source file" message, and resolve it, or specify
the module/function explicitly in the
BREAK/TRACEcommand.
Related Errors / Related Topics
- -16390 — "Error occurred while reading file filename." A related source-loading error, likely the underlying cause of no module being current.
No module is current for an unqualified BREAK/TRACE — check for an earlier source-load
failure, or name the module/function explicitly.