|
|
TECH NEWS
Near-Real-Time Debugging for Java
A free utility from IBM extends developers' debugging capabilities.
Would you like to boost your debugging capabilities? How about gaining more control over the Java Virtual Machine (JVM)? A free XML-based debugging automation tool from IBM promises to give you both.
The free Debug Tracer scripting tool lets you debug, trace, and monitor the JVM. It lets you debug problems quickly and monitor the Java application, as well as any code in the JVM and the JVM itself.
Capabilities include conditional debugging, JVM event logging, and more. Developers get a full set of conditions and associated scripting for automating control, according to IBM, which provide a number of capabilities conventional debuggers don't have.
IBM says the tool solves a number of problems, such as the following:
- You can use it to troubleshoot and debug applications running in a JVM when human intervention isn't possible.
- You can use it to debug timing and random problems, where conventional debugging might be ineffective.
- You can reuse scripts during the lifecycle of the product, retesting debugged problems at any time, such as during regression, testing, and development. For example, after you write a script to isolate a coding problem the first time, you can use it as you enhance the code to verify that you haven't introduced a new problem with subsequent changes.
Debug Tracer is written using Java Debug Interface (JDI), a set of debugging APIs included in the Java Platform Debugger Architecture. The tool adds to the JDI API by providing conditional execution, language features such as expressions, and logging facilities. These capabilities let the user debug without any intervention, giving him almost real-time debugging, IBM says.
Debug Tracer works with Java 2 and newer. You can download it at http://www.alphaworks.ibm.com/tech/debugtracer.
ARTICLE INFO
Web Edition: 2004.02.16, Doc #13648
FREE ACCESS
Keyword Tags: Application Development, Debugging, Development, IBM, IBM Debug Tracer, IBM Software, IBM WebSphere, J2EE - Java 2 Enterprise Edition, Java, JVM - Java Virtual Machine, Programming, Software Development, XML
ADVISORAMA I've never known any trouble that an hour's reading didn't assuage. -- Charles De Secondat
|
|