Debugging SQLJ-enabled Java projects
You debug an SQLJ-enabled Java project in the same way that you debug a regular Java project.
To debug directly from an SQLJ file, the Enable debugging from SQLJ file preference must be enabled in the SQLJ preferences. By default, this preference is enabled. If this preference is not enabled, breakpoints set in an SQLJ file do not work because debugging occurs in the Java files generated by the SQLJ translator. A project must be rebuilt for a change in this preference to take effect.
Parent topic
Developing SQLJ applications
Related concepts
Building SQLJ-enabled Java projects
Running code in SQLJ-enabled Java projects
SQLJ debugger
Local debugging
Remote debugging
Breakpoints
Related tasks
Editing SQLJ files
Setting SQLJ preferences
Setting SQLJ properties for an SQLJ-enabled Java project
Running and debugging