Entering content frame

Procedure documentation Debugging SQLJ Sources Locate the document in its SAP Library structure

Use

You do not normally want to debug generated Java code. In order to debug SQLJ source files, you need to activate SQLJ Debugging.

SQLJ source files can be debugged like normal Java source files. Setting breakpoints, stepping through source code, and value examination are done the same way as for Java sources.

At present, you cannot set breakpoints at #sql statements.

Procedure

       1.      Choose Window ® Customize Perspective….

       2.      Choose Other.

       3.      Select SQLJ Debugging.

       4.      Choose OK.

This adds SQLJ Debugging to the Run menu.

       5.      Choose Run ® SQLJ Debugging.

Result

SQLJ debugging is enabled for the current session.

Leaving content frame