Debugging a DataBlade® module
is usually an iterative process, repeated several times until the
code is debugged.
About this task
The debugging process has the following general steps:
Procedure
- Compile the JAR file (if necessary).
- Install the DataBlade module
shared object and SQL scripts in the $INFORMIXDIR/extend/project directory.
- Start your database server while logged on as the informix user.
See the HCL
OneDB™
Administrator's Guide for
more information.
- Register the DataBlade module
by using BladeManager (if
necessary).
- If you are replacing an existing JAR file, shut down and
restart the database server.
- Execute a query that calls the method by using an SQL query
tool such as DB-Access or SQL Editor.
See the HCL
OneDB DB-Access User's
Guide for
more information.
- Examine the Java™ log
file for errors.
- Edit the source code (if necessary).
- Repeat the procedure, as necessary.