Home

Getting Started

Utilities

Indexing

Omnidex

Development

Tutorials

Quick Links

 

sectionpage

ODXSQL - Commands - SET Options

Example

SET

 

ODXSQL

Special Characters

System Commands

Getting Help

Commands

 

OMNIDEX_DEBUG

SET OMNIDEX_DEBUG <ON | OFF | profile> [FILE=filename]

Turn debugging on or off. All debugging will be performed on the server, even if debugging was turned on by a client application. By default, debugging results are output to odxdebug.log in the same directory as the currently connected Omnidex environment file.

Debugging can also be turned on using an environment variable on the server. The difference is, using the environment variable will debug all Omnidex applications to which the environment variable applies. Using the SET option applies only to the current application and only for the life of the current session.

SET OMNIDEX_DEBUG
Required.

< ON | OFF | profile >
Required. ON turns on general debugging for OA routines. OFF turns debugging off. profile is one or more of the following, comma or space separated:

Profiles

DATABASE - Provides additional debugging information pertaining to the database interaction.

FILESYSTEM - Provides additional debugging information pertaining to issues with files or the filesystem.

OPTIMIZER - Provides additional debugging information pertaining to the optimizer.

QUALIFY - Provides additional debugging information pertaining to oaqualify and the QUALIFY command.

SELECT - Provides additional debugging information pertaining to oaselect and the SELECT command.

UPDATE - Provides additional debugging information pertaining to oaupdate and the UPDATE command.

CONNECT - Provides additional debugging information pertaining to oaconnect and the CONNECT command.

KERNEL - Provides additional debugging information pertaining problems with the Omnidex Kernel.

EXCEPTIONS - Locate an error in a long complex sequence of steps. Outputs the exception and the sequence of steps leading up to the exception.

ALL - Output ALL debug information for ALL of the above profiles. CAUTION!: The output will be very large. Use this option ONLY if you really need it!

 

FILE=filename
Optional. Writes the debug output to the specified filename.

 

 

Example

> set omnidex_debug database file='dbdebug.log'

Top