Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What debugging support does SQLJ offer?

debugging Offer SQLJ support
0
Posted

What debugging support does SQLJ offer?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.