Five debugging tools to improve Java development performance

Source: Internet
Author: User
Tags netbeans

Five debugging tools to improve Java development performance

Java is a very powerful programming language and has been widely used since its publication. As the core language of Android, a very popular mobile platform, it has greatly promoted the development of the mobile communication industry. Therefore, it is certain that the demand for Java developers will also increase as the Android platform continues to expand.

This article introduces many useful debugging tools for your reference. However, before that, let's take a look at the different types of debuggers.

Debugger type

  • CLI debugger command line debugger): GDB, JBD, and so on.

  • IDE debugger integrated development environment debugger): NetBeans, Eclipse, and so on.

  • Buildable Debugger: JSwat

  • Heap dump: jmap, MAT

  • Debug history

  • Dynamic Tracking

  • Production debugging

Well, let me introduce these excellent debugging tools one by one.

1. JDB

Java DebuggerJDB) is an efficient debugger that can identify and fix bugs in Java programs. It is also a simple command line Debugger for Java classes. This debugger contains the Java platform debugger architecture JPDA) which can enhance the inspection and debugging of local or remote JVMJava virtual machines ).

JDB is also a popular Java IDE, including NetBeans IDE and Eclipse IDE to support Java debugging. Therefore, JDB is very helpful for Java development.

Http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jdb.html

2. Bugloo

This source code-level debugger is specially designed to support the Scheme compiler-Bigloo. Therefore, programs using the Bigloo compiler can efficiently use the Bugloo Debugger for debugging. Of course, not only the Bigloo program, but also the Java program or the combination of the two can use this debugging tool. It is deployed on the JVM debugging architecture that provides a set of standard APIs. This expert-level software also includes the same debugging model as GDB and provides numerous features to help us cope with functional issues in contemporary programming languages.

Http://www-sop.inria.fr/teams/mimosa/fp/Bugloo/

3. Cricket Cage

Another multi-functional debugger, through automatic generation of repetitive bugs and JUnit test cases in test scenarios to enhance Java program debugging. Therefore, it can generate code through extension to improve our work efficiency. This further allows you to install code generators and execute programs that develop corresponding test cases. In addition, you can repeat each build test by integrating test cases into the build. xml file.

Http://cricketcage.sourceforge.net/

4. Artima SuiteRunner

This is a free open-source toolkit released under the open-source software license and is suitable for testing Java programs. Artima SuiteRunner can be used as an independent test tool to develop unit tests and consistency tests that support Java APIs. In addition, it can work with JUnit to execute the existing JUnit test suite. JUnit users can also enjoy the help provided by the debugger to ensure that the Code is safe. It provides reports, configuration files, and runpath to users, while insisting on implementing user-developed JUnit test cases.

Http://www.artima.com/suiterunner/

5. FindBugs

FindBugs is a software that executes static analysis Java code to search for bugs. The software is free of charge and released under the GNU loose Public License and its terms. The debugger supports JDK and JRE 1.5.0 or later versions. In addition, this tool can be used to analyze programs compiled from Java 1.0 to 1.7. The FindBugs software is constantly being improved to ensure compatibility with a later version of the platform and support the latest version.

Http://findbugs.sourceforge.net/

Last thought

Java debugging is a complex field. There are also many types of debuggers available on the market. We hope that you can select the most suitable debugging tool based on your business goals and Programming scope.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.