Wednesday, January 27, 2021

Tip of the Day: Using the R:BASE Engine Debug Setting
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.3.20119 or higher
Sections......: Debugging
Keywords......: RDEBUG, configuration, debug, logging

Did you know that you can use the R:BASE Engine's RDEBUG setting
to create a log file to help understand possible issues when running
R:BASE commands and using ODBC with foreign data sources?

The log file will contain Engine Functions as R:BASE establishes and
frees connections, executes SQL statements, retrieves data and values,
controls transactions, and handles data and values.

To enable debugging, add the RDEBUG setting to your R:BASE product
configuration file, which creates a log file of the R:BASE Engine
Functions.

The following provides the supported use of the RDEBUG setting in
the configuration file:

01. - Debugging is off

  RDEBUG OFF

02. - Debugging is on, where a log file is created in C:\

  RDEBUG ON

03. - Debugging is on with a file path and name

  RDEBUG ON C:\Temp\RDEBUG\rbengine.log

  The rbengine.log file is created in the C:\Temp\RDEBUG\ folder.

After the DEBUG setting has been turned ON or OFF, R:BASE must be
restarted in order for the setting to be recognized.

Important: The debug setting and logging adds overhead to the R:BASE
engine and performance will decrease. After logging has been captured
for a desired event where an issue occurs, the debug setting should
be set to OFF in the configuration file.

When RDEBUG is OFF the log file may remain in the configuration file.

  RDEBUG      OFF C:\Temp\RDEBUG\rbengine.log

The default location for the R:BASE Version 10.5 configuration files
is in "C:\Users\Public\RBTI", with RBENGINEX5.CFG used for R:BASE X.5
and RBENGINEX5E.CFG used for R:BASE X.5 Enterprise.

It is very helpful to see how the R:BASE Engine performs for complex
operations, and will allow you to find additional information when
errors occur in processing with both native and foreign data sources!

Very Best R:egards,

Razzak.

https://www.rbase.com
http://www.facebook.com/rbase/


--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/0MAg4D-1lGBQn0fhT-00BqOu%40mrelay.perfora.net.

Reply via email to