Stored procedure debugger

The DB2® stored procedure debugger enables you to detect and diagnose errors in SQL and Java™ stored procedures that are running on a local or remote DB2 server. With the debugger, you can control the execution of your code by setting line and variable breakpoints, suspending execution, stepping through your code, and examining the contents of variables.

The DB2 stored procedure debugger supports debugging on Windows®, Linux®, Unix, and iSeries™. On these platforms, the following levels of DB2 are supported:

In addition, the DB2 Application Development Tools must be installed. On Windows, the Application Development Tools are typically installed by default - on Linux, they typically need to be manually installed.

Related concepts
Local and remote debugging
Breakpoints

Feedback