Time inside a Time Travelling Debugger
Join the DZone community and get the full member experience.Join For Free
When we were developing Chronon and started using it ourselves, we realized something very intriguing. You see, the various views of Chronon allow you to step not only forward and backward but to any random point in time. For example, using the Variable History view, you can instantly jump to when a variable became ‘null’ or use one of the powerful filters in method history view to jump directly to a particular call of a method.
Since you are not just stepping forward, it is easy to get lost in time.
- How does one event relate to the other, did it happen before or after the other?
- Did I just jump forward or backward when I clicked in the variable history view?
- If I did jump backward/forward, by how much did I jump?
- Where am I in the execution of my program? Am I near the end of my program/ middle or end?
Imagine you are a real world time traveler. What is the most important tool in your arsenal?
We needed some sort of a clock inside Chronon to solve all the above issues.
Thus we invented the concept of ‘time’.
- It literally shows the current time value.
- The progress bar gives you an idea of how far down the execution of the program you are.
See the bar completely fill up, well you are near the end, if its almost empty, you are near the beginning.
- We also added ‘time bookmarks’ in this view which act as a checkpoint mechanism for anything interesting you might want to return to in the future.
Opinions expressed by DZone contributors are their own.