Debugging an Enhydra Application

There are many ways to debug an Enhydra application that go beyond the insertion of System.out.print statements. Of course, if you take advantage of Enhydra Kelp and your supported IDE environment, you can debug an Enhydra application just like any other Java application. The fact that you have source code to the Enhydra application server itself creates an even more thorough debugging environment.

Discussed earlier, built into every Enhydra application is the capability to write to a log file at different message levels, one of which is DEBUG:

public static void writeDebugMsg(String msg) {
        Enhydra.getLogChannel().write(Logger.DEBUG,msg);
}

To activate the DEBUG level, simple add the DEBUG name to the list of ...

Get Enhydra XMLC™ Java™ Presentation Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.