Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

What this tutorial is about

This tutorial aims to walk you step-by-step through debugging a Java application with Chronon.

What this tutorial is not about

The basics of Java programming, and using Chronon are out of scope of this tutorial. Refer to the Chronon documentation for details.

Before you start...

Make sure that:

  • You are working with IntelliJ IDEA version 13.1.
  • The Chronon plugin is downloaded and installed on your IntelliJ IDEA.

It is essential to understand that Chronon is not literally a debugger - it only helps you record the execution progress and then play it back, like a videotape.

Preparing an example

Let’s see how Chronon works on a simple example.

First, create a project as described in the page Creating and running your first Java application.

Next, add Java classes to the src directory. The first class is called ChrononDemo.java and it performs two-threaded array sorting:

The second is the class QuickSort.java that performs quick sorting:

And, finally, the third one is the class BubbleSort.java that performs bubble sorting:

Installing plugin

Changes to the UI

Creating Chronon run/debug configuration.

Defining include/exclude patterns

Launching the application with Chronon

  • No labels