Debugging

This product offers a variety of debuggers which enable you to detect and diagnose errors in applications that are running locally or remotely. You can debug live server-side code, client-side script, Java, relational database languages, and compiled languages. With the debuggers, you can control the execution of your programs by setting breakpoints, suspending execution, stepping through your code, and examining the contents of variables.

 

J2EE applications

The WebSphere Application Server debug adapter allows you to debug Web objects that are running on WebSphere Application Server. These objects include EJBs, JSPs, and servlets. Through use of the debug adapter, you can also debug server-side JavaScript.

 

XSL transformations

The XSLT debugger allows you to detect and diagnose errors in XSL transformations. With the debugger, you can control the execution of your XSL transformation by setting line breakpoints, suspending launches, stepping through your code, examining the contents of variables, and watching XPath expressions.

 

Active Script

The Active Script debugger enables you to detect and diagnose errors in code that contains Active Script or Active Script objects. With the debugger, you can control the execution of Active Script by setting line breakpoints, suspending launches, stepping through your code, and examining and changing the contents of variables.

 

Relational database languages

The debug tooling includes the SQL stored procedure debugger, which allows you to debug SQL procedures that are running on a local or remote DB2 server. In addition, you can use the SQLJ debugger to debug Java embedded with SQL.

 

Server attach and debug on server functionality

When you are building Web applications, you will want to make use of the server attach feature to quickly attach to an application server so you can debug the Web objects running on it (including EJBs, JSPs, and servlets - and allowing for integrated Java, server-side JavaScript, SQLJ, and JSP debugging). Alternatively, you can use the debug on server action to launch these Web objects for debugging or to launch client-side scripts that are hosted by Web pages (HTML or JSPs).

 

Java and compiled languages

The Java development tools debugger allows you to debug Java that is running locally or remotely. The compiled language debugger also provides remote and local debug capability, and allows you to debug languages such as C and C++.

To learn more about these debuggers and their usage, see the help that is provided in this folder. In addition to the above debuggers, debug functionality is available for other development components, such as XML tools. Information about additional debug functionality can be found in the documentation for these development components.

 

Java and mixed language

With the Java and mixed language debugger, you can debug Java calls to other languages - and a variety of languages that call Java.