×

Advancing and rewinding a replayed program execution

  • US 9,122,601 B2
  • Filed: 08/18/2014
  • Issued: 09/01/2015
  • Est. Priority Date: 06/07/2006
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method comprising:

  • establishing a data connection from a testing system to a unit under test, the unit under test comprising unit under test memory that comprises dynamically allocated memory and static memory;

    receiving, at the testing system, a trigger mechanism from a user for establishing state points of the unit under test during a record phase of execution of an application program;

    storing, in a storage system of the testing system, data about a state of the dynamically allocated memory and the static memory for each of a plurality of state points of the unit under test during the record phase, wherein the testing system stores the plurality of state points in response to the trigger mechanism, comprising;

    i) detecting a change in a first state of the unit under test memory during the record phase; and

    ii) storing, in the storage system of the testing system, as a first state point of the unit under test, information about the change in the first state of the under test memory;

    detecting, by the testing system, that a call involving operating system resources is to be executed next by the unit under test during the record phase, wherein the call is an Application Program Interface (API) call from the application program to a specified operation of the operating system;

    storing, as a marker state point in the storage system of the testing system, a state of the unit under test memory responsive to detecting the call, wherein the marker state point is in addition to the plurality of state points, including storing the marker state point regardless of the trigger mechanism;

    detecting, by the testing system, a write operation to the under test memory during a replay phase of execution of the application program;

    determining, by the testing system, whether the storage system comprises data about the write operation of the unit under test memory;

    detecting by the testing system, that a replay synchronization error has occurred at a particular point in execution of the application program when the storage system does not comprise data about the write operation to the unit under test memory;

    receiving, by the testing system, a request to skip to a first state point of the plurality of state points that would result in skipping the marker state point during the replay phase; and

    preventing, by the testing system, skipping the marker state point during the replay phase when responding to the request.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×