Debugging the AddInts() function
About this task
To debug the AddInts() function:
Procedure
Results
IfxQuery displays the results of the SQL query in your default HTML browser.
The Debug DataBlade Module command
performs the following tasks:
- Checks if the AddInts DataBlade® module is compiled.
- Creates the AddInts.0 directory under the %INFORMIXDIR%\extend directory of the database server.
- Installs the AddInts.bld dynamic link library and the AddInts SQL scripts in the %INFORMIXDIR%\extend\AddInts.0 directory.
- Starts the Visual C++ debugger and the database server attached to the Visual C++ debugger.
- Launches IfxQuery, which creates and connects to the addints_test database, registers the AddInts DataBlade module, and executes the SQL statement from the AddInts.sql file until the breakpoint is reached.
- When you pass the breakpoint and the function returns, IfxQuery writes the results of the SQL statements to the AddInts.dital HTML file and launches your default HTML browser to display the results.
If you set no breakpoints, IfxQuery executes all SQL statements in the active window and displays the results.