Java debugging tools

For Java, you can use jdb, a simple command line debugger for Java classes, or other tools that support the same remote debugging interfaces as EAServer.

EAServer supports the Java Platform Debugger Architecture (JPDA). To run the server in JPDA mode, use the -jpda option when you start the server; for example, on UNIX:

start-server.sh  -jpda [-jpdaSuspend] 

Used with jpda, jpdaSuspend suspends the server at start-up time. This allows you to set breakpoints in code that executes at start-up, such as servlets that are configured to load on start-up. You can resume execution of the server with your Java debugger.The default port to use for JPDA debugging is 5005. For more information about command line options you can use when starting the server, see “Starting the server,” in Chapter 3, “Creating and Configuring Servers,” in the EAServer System Administration Guide.

For details about Java debugging, see: