Patent ID: 7882494

Claim:
A computer readable storage medium, comprising executable instructions to: run a segment of code; identify a plurality of variables that are associated with the segment of code; stop the segment of code at a predetermined breakpoint; identify a plurality of current state values that correspond to the plurality of variables associated with the predetermined breakpoint; accept a selected variable from the plurality of variables via a first interaction with a Graphical User Interface; accept a saved variable state from a data source, wherein the saved variable state comprises a set of saved state values corresponding to a state of a previously run segment of code; trigger an operation selected from replacing a current state value in the plurality of current state values and comparing a current state value in the plurality of current state values, wherein: the current state value for the selected variable is replaced with the corresponding saved state value when the operation of replacing is selected: the current state values that correspond to the saved state values are displayed adjacent to each other, when the operation of comparing is selected, wherein the display is in a single panel or in separate panels; and the operation is triggered via a second interaction with the Graphical User Interface; and the first interaction with the Graphical User Interface and the second interaction with the Graphical User Interface constitute a single interaction with the Graphical User Interface.