If you are a Java programmer, debugging sometimes can be a hassle. Luckily, a group of programmers is working to change this.
A global community for solving Java problems and sharing their solutions
Some people might say that writing Java can be relatively straight-forward—you know how to create classes, initiate an object, and when to call a method, depending on what you need the program to do. Others will tell you that writing Java can sometimes be difficult—even when you know what needs to happen, a minor error in the code can be a pain to find and debug. It is then your job to figure out what went wrong. Sometimes your fix will be easy, and you’ll find your exception right away. Other times, however, it may take you multiple attempts of trial and error to find your mistake. However, there is a website that is creating a global community for solving Java problems and sharing their solutions. That website, appropriately named, is Samebug.
Samebug is a Java exception database and search engine built by programmers, dedicated to helping other programmers. This means that you are able to copy your stack trace, paste it into Samebug’s search engine and it will instantly provide you with possible solutions to your problem. With over 400,000 possible solutions (and counting), you’re bound to find the solution you’re looking for.
See an entire archive of all exceptions and solutions.
If you are unable to find a solution through the search results, Samebug also has a growing archive of solutions. Say you’re working with code for Java MySQL, Samebug gives you the opportunity to see an entire archive of all exceptions and solutions related to MySQL, all neatly organized by package, where you can dig further down to specific classes and methods, and finally, exception types. Furthermore, not only will you be able to see all of the solutions, but at the top of the page they highlight which methods have had the most exceptions — they call these “hotspots.” Also highlighted for you are “hot problem types” which are the most commonly discussed thrown exceptions.
As Samebug’s database continues to grow, they are working toward indexing more sources, such as Jira and YouTrack issue trackers. Furthermore, they are developing plugins for IDEs like Android Studio, IntelliJ IDEA, and Eclipse. The plugin will enable uninterrupted workflow and automatic solutions when a crash occurs. By analyzing developers’ crashes, Samebug will connect their users automatically with an expert from the community to get help online or offline.
The company’s commitment to usher a new wave of debugging, what they have dubbed, “stress-free bug-fixing”, will help them become the world’s largest solution database and network of Java experts. According to Samebug cofounder, Renáta Tamási, “Samebug empowers developers and companies to collect, connect, and share solutions on our platform. The aggregated knowledge will enable faster adaptation of new technologies and developers onboarding to a new job.”
Fixing a Java bug has never been easier. Regardless of where you and your team are in your project, using Samebug, you should be able to find a solution to your bug. As more programmers join the community and discuss their bugs, Samebug’s database of solutions will continue to grow, making it one website that every Java developer should keep bookmarked.
Avoid costly mistakes and wasted time – talk to an impartial peer in Higher Ed!
There is nothing like speaking with a peer who has implemented the same product – send us a request.
You can also provide general feedback, inquire about additional free resources, submit a topic you’d like us to cover, tell us about a feature you’d like to see, or request the best staff for your project.