JIVE is an interactive execution environment for Eclipse that extends Eclipse's Java debugging features with a number of useful features. It can be used with the standard JDK or Android SDK.
Both beginner and advanced Java programmers will benefit from JIVE's rich visualizations of object structures and method interaction, as well as the ability to step forwards and backwards in execution.
JIVE also supports query-based debugging, i.e., debugging with temporal queries and dynamic slicing, as well as features to deal with larger executions using exclusion filters and debugging over intervals.
The recent additions to JIVE support runtime verification of Java programs through the generation of state diagrams from program executions and consistency checking against design-time specifications.
JIVE depicts both the runtime state and call history of a program in a visual manner. The runtime state is visualized as an enhanced object diagram, showing object structure as well as method activations in their proper object contexts. The call history is depicted as an extended sequence diagram, with each execution thread shown in a different color, clarifying the object interactions that occur at runtime. The diagrams are scalable and can be filtered to show only information pertinent to the task at hand. JIVE also supports a state diagram view, which is useful for programs that exhibit a repetitive behavior.
Traditional debugging is a procedural process in that a programmer must proceed step-by-step and object-by-object to find the casue of an error. In contrast, JIVE supports a declarative approach to debugging by providing an extensible set of queries over a entire program's execution history, not just over the stack of outstanding calls. Queries are formulated using the source code or the diagrams, and the results are shown in a tabular format and also as diagram annotations. JIVE also supports dynamic slicing in order to achieve reduced visualizations and focus on the root-cause of errors.
JIVE supports both forward and reverse stepping of Java programs. Often, a programmer may discover that an error has occurred only after the errant statement has been executed. Providing the ability to step backwards saves a programmer the time and effort of re-executing the program until the point of error. JIVE also provides the ability to jump directly back to any previous point in the execution history in order to observe the object diagram at that point. Reverse stepping and jumping work closely with query-based debugging to narrow down the cause of program errors.