What debugging support does SQLJ offer?
At the simple end of the spectrum are the translator -linemap option and the server-side debug option. The -linemap option instructs the SQLJ translator to map line numbers in the SQLJ source code to line numbers in the generated .class file (the .class file produced by the compiler during compilation of the .java file that was generated by the translator). This way, you can trace runtime errors to lines of code in your SQLJ source file. If you are using the SQLJ translator that is embedded in the server, there is no -linemap option but the same functionality is implemented automatically. You can also use the server-side debug option, which is similar in nature to the -g option of the javac compiler. At the more complex end of the spectrum is a special profile customizer known as the “auditor installer”–sqlj.runtime.profile.util.AuditorInstaller. This customizer inserts debugging statements–called auditors–into profiles that you specify on the SQLJ command line. The debugging statem