-
Book Overview & Buying
-
Table Of Contents
Oracle ADF 11gR2 Development Beginner's Guide
By :
JDeveloper 11gR2 supports the debugging feature, which will allow a developer to debug the application code to fix an issue or isolate a problem in the production environment. Some of the common debugging practices are discussed in this section.
Some of the debugging practices are as follows:
Resolving compilation errors: This is very simple to resolve as part of the issues will be related to the coding issue. Compilation issues can occur during Java compilation, XML parsing, XML validations, and so on.
Print values: The basic debugging technique that is known to any Java developer is to print the values using System.out.println statements in the console to verify if the program behaves as expected. This, however, is not recommended and a Logger API is used instead. The ADF recommendation is to use the ADFLogger API, which is configurable to print the values in the logfile.
Breakpoints: Another way to debug is to insert a breakpoint next to the...
Change the font size
Change margin width
Change background colour