Returns debugging results to the application log file.
Syntax:
QXDEBUG={set of characters}
Possible values:
Bb |
returns information on BIND and BUFFER variables |
C |
logs operation of the logging driver for scrolled cursors under Oracle RDBMS |
c |
logs operations performed with the non-Informix database driver such as allocating cursor, opening and fetching, etc. |
d |
prints the name of the SQL driver currently used |
E |
shows the internal conversions under Oracle RDBMS |
e |
logs errors and warning states |
G |
logs string pool operations such as allocation or releasing (now applies only to C-interface) |
L |
logs blob operation on the SQL driver side |
l |
logs ODBC debugging |
m |
logs command line arguments and parameters |
O |
logs statistics for SQL statements when connected to the Oracle RDBMS. This statistics includes internal cursor name and its lifetime, runtime parsing on the RDBMS side, parsing time, execution time, average fetch time, etc. |
P |
prints all the output immediately |
p |
logs internal operations related to SQL statements, namely emulation behavior, binding variables, internal cast operations, trigger applications, generation of target RDBMS queries, etc. |
Ss |
logs SQL generated by the RTP subsystem (SQL translation into the target database) |
t |
logs SQL issues and errors |
Uu |
returns information on the SQL code |
zA |
logs information on the REST protocol |
zK |
logs information on interaction model, application, and window |
zQ |
logs information on form and form functions, dde, keys, application launcher menu, window functions, options, dialog, input, ring menu, abstract model, messaging and server |
v |
logs environment variables |
Usage and examples:
LYCIA_MSGPATH is included in inet.env created by Lycia installer:
QXDEBUG=mv
This default setting means that command line arguments and parameters as well as environment variables are logged.
To get all the debugging results possible, you must set the full value of QXDEBUG:
QXDEBUG=UuBbSsEedPptLlCcmGOzAzKzQv
QXDEBUG applies at runtime and must be set in inet.env together with LYCIA_SEVERITY.
Log files for the running applications are stored in these folders:
C:\ProgramData\Querix\Lycia 7\logs
/opt/Querix/Lycia/logs
Earlier, more QXDEBUG values were available.
The table below includes the values that are currently dropped. When added to the QXDEBUG values, they will add nothing to your log files.
D |
used to return debugging results for classic forms |
f |
used to log inputs into forms, arrays, etc. |
g |
used to log signals on fatal non-4gl handling |
I |
used to log current active field or fgl_getkey() |
i |
used to log INPUT parameters (bind parameters, non-default values, attributes, etc.) |
M |
used to log menu events (moving between menu items, hiding and showing options, etc.) |
N |
used to return information about starting the program start and connecting to the client (program name & socket id) |
o |
used to return information about applying form field attributes at runtime |
W |
used to log debugging information for SOAP web services |
w |
used to log web service operations |
X |
used to log runtime binary operations (e.g. equal / not equal / greater / less, etc.) |
x |
used to return information about applying current program and screen line (fgl_dialog_setcurrline()) |
Y |
used to log form attributes (was done in the process of compilation) |
y |
used to log start of compilation |
Related articles:
Logging configurations