One approach for debugging SQL procedures in C# and Visual Basic applications against a DB2 Version 8 server, is to start and use the debugger session manager manually.
Two files are installed in the \bin directory that is
under the directory where you installed the IBM®
Database Add-Ins for Visual Studio:
db2dbgm.jardb2dbgm.batPrerequisite: To use the debugger session manager, you must have JVM Version 1.4, or later, installed on your workstation, and it must be specified in the PATH environment variable.
Normally, the debugger session manager terminates after being
inactive for a timeout period of 50 minutes. You can change the
timeout period by editing the db2dbgm.bat file.
To start and run the debugger session manager manually:
\bin directory that is under the
directory where you installed the IBM Database Add-Ins for
Visual Studio.db2dbgm.bat file to change
the timeout period.db2dbgm.bat file.
A new command window opens.You can minimize the command window, but do not close it as long as you are debugging.
Debugging CLR Applications against DB2 Version 8 Servers