为Java开发人员准备的10个很棒和实用的调试工具
Artima SuiteRunner is a free open source testing toolkit for Java released under the Open Software License. You can use this tool with JUnit to run existing JUnit test suites, or standalone to create unit and conformance tests for Java APIs. The three main advantages Artima SuiteRunner offers to JUnit users are reporters, runpaths, and recipe files. Existing JUnit users can use SuiteRunner to run their JUnit tests, which allows them to gain the benefits of reporters, runpaths, and recipe files while continuing to use their JUnit test cases.
2. Bugloo
Bugloo is a source level debugger for the Scheme compiler Bigloo. It aims at helping the debugging of Bigloo programs that are compiled into JVM bytecode. It is implemented by means of the JVM Debugging Architecture, a set of standard APIs provided by Sun to make debuggers and profilers. Currently, this debugger can debug Bigloo programs, Java programs or a mix of both by instrumenting their execution. It is based on the debugging model found in GDB, but provides additional fonctionalities to deal with the features of modern programming languages.
3. Bugzero
Bugzero change management issue tracking system is a software application that allows an enterprise to record and follow the progress of every problem or issue that a user identifies until the problem is resolved. In Bugzero, an “issue” can be anything from a simple customer question or request to a detailed technical report of an error or a problem. Internally or externally, intranet or internet, this software can be used by software developers and testers for bug tracking, manufacturers for customer and sales tracking, and IT help desks and other service providers for trouble ticketing (ActiveLog).
4. Clover
Clover provides the metrics you need to better balance the effort between writing code that does stuff, and code that tests stuff. The software runs in your IDE or your continuous integration system, and includes test optimisation to make your test run faster, and fail more quickly.
5. Cricket Cage
Cricket Cage automatically creates JUnit TestCases for repeatable bugs and test scenarios. Extend the Generates Code aspect, include Cricket Cage’s AspectJ code in your compilation to install the code generator, then run the program to generate the TestCase. Finally, add the test case to your build.xml to repeat the test on every build.
6. cvprof
This tool is a source-line coverage profiler for Java code, released under the terms of the LGPL. cvprof is a rewrite of JVMDICover that works under J2SDK-1.2, J2SDK-1.3 and J2SDK-1.5 (beta). The tool, cvprof, is implemented using the Java2 JVMDI interface present in Sun’s Java Virtual Machines.
7. ESC/Java2
The Extended Static Checker for Java version 2 (ESC/Java2) is a programming tool that attempts to find common run-time errors in JML-annotated Java programs by static analysis of the program code and its formal annotations. Users can control the amount and kinds of checking that ESC/Java2 performs by annotating their programs with specially formatted comments called pragmas.
This open source profiling tool for Java is highly scalable and extensible, which makes it very useful for Java developers.
9. FindBugs
This is a program which uses static analysis to look for bugs in Java code. It is free software, distributed under the terms of the Lesser GNU Public License. FindBugs requires JRE (or JDK) 1.5.0 or later to run. However, it can analyse programs compiled for any version of Java, from 1.0 to 1.7. Some classfiles compiled for Java 1.8 give FindBugs problems, the next major release of FindBugs will handle Java 1.8 classfiles.
10. gPM
This is a business process management tool that you can use for bug tracking in your programs.