Patent ID: 9619367
Date: 2017-04-11
CPC Classifications: G06F

Claim:
1. A method comprising: executing a set of target code for debugging; and during execution of the target code, generating and saving an incremental series of snapshots that tracks changes in a value of a variable and its associated memory location, the generation of the series of snapshots including: generating a first snapshot corresponding to a first increment of target code execution during which the value of the variable changes and the associated memory location does not change, so that in the first snapshot a first updated variable value is recorded and its memory address remains the same, generating a second snapshot corresponding to a second increment of target code execution during which the value of the variable does not change and the associated memory location changes, so that in the second snapshot the variable value remains the same and a first updated memory address is recorded, generating a third snapshot corresponding to a third increment of target code execution during which the value of the variable changes and the associated memory location changes, so that in the third snapshot a second updated variable value is recorded and a second updated memory address is recorded; and each time an update of the variable is detected, recording a statement in a contemporaneous snapshot including context data indicative of environment or condition related information at the time of detection of the update so that a user can determine the environment or condition related information by reviewing the contemporaneous snapshot wherein the context data includes (i) a relationship of function calls related to the variable, and (ii) a timestamp for each snapshot of the series of incremental snapshots.