Recording program execution
AssigneeAb Initio Technology LLC
InventorsJoseph Stuart Wood, Robert Freundlich
Life of this patent
Estimating the term…
Abstract
Among other things, a method includes, at a computer system on which one or more computer programs are executing, receiving a specification defining types of state information, receiving an indication that an event associated with at least one of the computer programs has occurred, the event associated with execution of a function of the computer program, collecting state information describing the state of the execution of the computer program when the event occurred, generating an entry corresponding to the event, the entry including elements of the collected state information, the elements of state information formatted according to the specification, and storing the entry. The log can be parsed to generate a visualization of computer program execution.
Claims15
A computer-implemented method including:
- at a computer system on which one or more computer programs are executing:
- receiving a specification defining types of state information;
- receiving an indication that an event associated with at least a first of the one or more computer programs has occurred, the event associated with execution of a function of the first computer program;
- collecting state information describing the state of the execution of the first computer program when the event occurred;
- generating, during execution of the first computer program, an entry corresponding to the event, the entry including one or more elements of the collected state information, the one or more elements of state information formatted according to the specification;
- and
- storing the entry,
- wherein the entry contains:
- a first portion formatted according to a native format of a logging mechanism used when generating a log, the first portion including at least one of a timestamp and a debugger message, and
- a second portion formatted according to the specification and in a format other than the native format of the logging mechanism, the second portion including at least one element of the one or more elements of the state information, each of the at least one element of state information tagged based on tags defined by the specification.
A computer system configured to execute one or more computer programs, the computer system comprising:
- at least one hardware processor configured to perform:
- receiving a specification defining types of state information;
- receiving an indication that an event associated with at least a first of the one or more computer programs has occurred, the event associated with execution of a function of the first computer program;
- collecting state information describing the state of the execution of the first computer program when the event occurred;
- generating, during execution of the first computer program, an entry corresponding to the event, the entry including one or more elements of the collected state information, the one or more elements of state information formatted according to the specification;
- and
- storing the entry,
- wherein the entry contains:
- a first portion formatted according to a native format of a logging mechanism used when generating a log, the first portion including at least one of a timestamp and a debugger message, and
- a second portion formatted according to the specification and in a format other than the native format of the logging mechanism, the second portion including at least one element of the one or more elements of the state information, each of the at least one element of state information tagged based on tags defined by the specification.
A computer-readable hardware storage device storing instructions that, when executed by at least one processor, cause the at least one processor to perform:
- receiving a specification defining types of state information;
- receiving an indication that an event associated with at least a first of the one or more computer programs has occurred, the event associated with execution of a function of the first computer program;
- collecting state information describing the state of the execution of the first computer program when the event occurred;
- generating, during execution of the first computer program, an entry corresponding to the event, the entry including one or more elements of the collected state information, the one or more elements of state information formatted according to the specification;
- and
- storing the entry,
- wherein the entry contains:
- a first portion formatted according to a native format of a logging mechanism used when generating a log, the first portion including at least one of a timestamp and a debugger message, and
- a second portion formatted according to the specification and in a format other than the native format of the logging mechanism, the second portion including at least one element of the one or more elements of the state information, each of the at least one element of state information tagged based on tags defined by the specification.
Dependencies are inferred from the claim text.