Switches on line info for release cache.
Syntax
QX_REL_LINE_INFO = {any non-empty value}
Possible values
switches off line info for release cache |
|
switches on line info for release cache |
Usage and examples
By default, line info for the release cache is switched off.
To switch it on, you must define QX_REL_LINE_INFO with any non-empty value (thus we recommend setting it to 1):
QX_REL_LINE_INFO=1
QX_REL_LINE_INFO is applied when cache is built because it tells qrun what cache to build. So it must be set before the cache is created.
QX_REL_LINE_INFO is set in inet.env because it tells qrun what cache to use at runtime.
After you set QX_REL_LINE_INFO, line info will displayed to the error message at runtime and will be written to error logs (= logs initialized by startlog()):
Date: 11/21/2017 Time: 13:17:26
An exception (error) is being handled.
Module: new_program.exe [0000000a]
File: new_program.4gl
line 3 (1-12)
Function: main
The error code (9230) was received.
Invalid form: root container is missing
Form new_program is invalid. Root container is missing.
To be able to see line info in application logs, you must set this value to QXDEBUG:
QXDEBUG = zA
...
<<<
<?xml version="1.0" encoding="utf-8"?>
<response><signal name="message">["An exception (error) is being handled.\n\n
Module: new_program.exe [00000007]\nFile: new_program.4gl\nline 2 (1-12)\n
Function: main\n\n\nThe error code (9230) was received.\n\nInvalid form: root container is missing\n\n
Form new_program is invalid. Root container is missing.\n\n"]</signal></response>
<<<
<C:\ProgramData\Querix\Lycia\progs\new_program.exe>
...