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 the messages passing between client and server (currently, 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 |
|
zS |
adds time stamps to the messages in a log file |
|
zT |
(Experimental) traces function calls for built-in functions. Attention: This option impacts the performance greatly and can cause crashes. Avoid using it unless it is strictly necessary to trace these function calls.
|
|
zV |
logs the object_cache information |
|
v |
logs environment variables |
Usage and Examples
QXDEBUG applies at runtime and is set in inet.env.
Log files for the running applications are stored in these folders:
Examples:
|
QXDEBUG=mve |
Basic runtime debugging: logging of the environment variables and command line arguments and parameters. |
|
QDEBUG=decetl |
Database connection and driver issues: useful for investigating ODBC configuration problems, authentication failures, driver errors, and database connectivity issues. |
|
QXDEBUG=SsUuBbptce |
SQL query execution and incorrect results: useful when troubleshooting SQL translation, incorrect parameter binding, data type conversions. |
|
QXDEBUG=zAzKzQezS |
Client-server issues: useful for diagnosing communication failures, unexpected client-server messages, and UI synchronization problems. |
|
QXDEBUG=UuBbSsEedPptLlCcmGOzAzKzQzSzVv |
Extended debugging for complex issues: Use this when the root cause is unknown, and more detailed logging is required across database, runtime, and UI components. This is an extended diagnostic configuration based on the full option set, with timestamps enabled. Attention: Avoid using this configuration for extended periods of time. It can generate very large logs and significantly reduce application performance, particularly with z* options. The experimental zT option has been excluded from this configuration.
|
Earlier, more QXDEBUG values were available.
|
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 |