Step
9 - Debugging
This section describes the methods and tools available in Omnidex to
debug an application.
Omnidex contains several tools to help facilitate the debugging of an
application. Additionally, DISC recommends a general methodology when
debugging an application.
REGTEST
The REGTEST utility verifies
that the Omnidex licensing registration database is available and accessible
by the application. If REGTEST fails, the Omnidex system is not properly
licensed. Contact DISC Technical Support to obtain proper licensing codes
and then use REGMAINT to reactivate the Omnidex software.
VERSIONS
The VERSIONS utility
displays various operating system information and the environment variable
settings that are used by Omnidex. This is a quick way to verify that
environment variables are set properly and that the appropriate Omnidex
software version is being accessed. By default, a short listing of version
information is produced.
Use the -all run-time option to see a complete list of operating system
information know to Omnidex and the current setting of Omnidex specific
environment variables.
OMNIDEX_DEBUG
OMNIDEX_DEBUG
is provided for debugging Omnidex applications at any level including
the database and index layers. All debugging occurs on the server and
is output to "odxdebug.log" in the "current working directory"
by default.
The Explain Plan
For checking performance of SQL statements processed by the Omnidex SQL
Engine, the ODXSQL utility
and the Explain
command can be used to determine the access methodology used by Omnidex
for the particular SQL request.
Top
|