I've been a zone leader with DZone since 2008, and I'm crazy about community. Every day I get to work with the best that JavaScript, HTML5, Android and iOS has to offer, creating apps that truly make at difference, as principal front-end architect at Avego. James is a DZone Zone Leader and has posted 639 posts at DZone. You can read more from them at their website. View Full User Profile

Look Back On Your Application's Past With Chronon

04.04.2012
| 5859 views |
  • submit to reddit

If you're running an open source project, and have trouble with bugs that are difficult to reproduce, then Chronon's latest announcement is what you've been waiting for. You might be familiar with their Time Travelling Debugger, which allows you to play back recordings of your Java program to find where things may have gone wrong. With the embedded recorder included in your application, your users will be able to send reports to the development team for investigation. No need for unreliable log files - let Chronon do the hard work for your project.

I spoke to Prashant Deva, founder of Chronon Systems, to find out more about the advantages of the product for open source projects.

DZone: What is the Open Source licence for Chronon all about?

Prashant Deva: We are offering Open Source licenses of Chronon to further our mission of 'No More Non Reproducible Bugs' for the entire Java community.
Specifically we are offering licenses of Chronon Time Travelling Debugger and Embedded Chronon so that users of these open source project can submit Chronon recordings of bugs to those projects easily and be ensured that the developers of these projects can open/debug them.

 
DZone: How do you integrate the embedded recorder?

Prashant Deva:  The embedded recorder basically ships the recorder.jar file with your application.
We offer a simple api, eg - Recorder.start(), Recorder.stop() so that developers can choose to create a 'record' button inside their application.
Thus enabling their users to easily report bugs as Chronon recordings.
 
DZone: Is there any performance loss?

Prashant Deva: We recently announced Chronon 3 which has a 10x performance improvement and is ready for heavy duty production environments.
If you are still concerned about performance, we allow using Embedded Chronon to dynamically start/stop recording only when needed. The Chronon recorder also has a bunch of settings like choosing exactly which classes to record, etc to fully control the performance impact.

 
DZone: What are the base requirements for including it?

Prashant Deva:  The program needs to run on JVM 6. You can still compile your code for java version < 6, but they just need to be run on jvm 6.
 
Dzone: Do users need to send the reports? Could you add something to access the logs remotely?

Prashant Deva: It depends on the open source projects and their users, how they facilitate the transfer of recordings. We just provide the tools to do so.
In the case of projects with a UI, using Embedded Chronon, they can probably show a dialog to automate transfer of recordings.

In the case where the project is a library, the users will probably be recording it in their own commercial applications using our commercially licensed copy of either Recording Server, Embedded Chronon or Chronon Eclipse Debugger. In this case, they would probably attach the recording to a bug report.

This is especially useful since most enterprise applications are dependent on a big environment like a database, messaging queue, etc to reproduce the bug. And currently they wouldn't be able to get the bug cured since they cant reproduce the environment on the library developer's side.
But now they can send the bug as a single Chronon Recording file to the developers.

This way the users of these open source libraries are a lot more confident about using the library since they know that if an issue occurs they can get it easily fixed by sending a Chronon Recording.

The developers of the open source projects will have a free Chronon Debugger license from us that they can use to debug the issue.
 
DZone: Could I use this in an Android application?

Prashant Deva: No. Android is not supported since it runs on the Dalvik vm and not the standard JVM.

Reference: http://eblog.chrononsystems.com/chronon-free-for-open-source-projects

Comments

Prashant Deva replied on Wed, 2012/04/04 - 1:56pm

Minor correction of a mistake on my part:

 The answert to the first question should read:

 further our mission of 'No more Non Reproducible Bugs' 

 not  

 further our mission of 'Non Reproducible Bugs'  

 

 Sorry I was too excited with all the stuff happening today :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.