INFORMATION PROCESSING APPARATUS AND METHOD OF ACQUIRING TRACE LOG
First Claim
1. An information processing apparatus including one or more processors configured to perform a procedure, the procedure comprising:
- executing a program including a log acquisition command having set therein identification information on a file describing a source code of the program, version number information on the source code, and a variable, and acquiring a value of the variable set in the log acquisition command when the log acquisition command has reached a stage of execution; and
generating a trace log including the identification information on the file and the version number information set in the log acquisition command in the stage of execution, and the value of the acquired variable, and storing the trace log in a storage device.
1 Assignment
0 Petitions
Accused Products
Abstract
In an information processing apparatus, a program execution section executes a program, and in the stage of execution of a log acquisition command, acquires the value of a variable set in the log acquisition command. A trace log generation section generates a trace log including identification information on a file set in the log acquisition command, version number on a source code, and the acquired value of the variable, and stores the trace log in a storage device. A source code acquisition section acquires a source code corresponding to a combination of the identification information and the version number, based on the trace log. A character string addition section extracts a character string related to the value of the variable included in the trace code, from the acquired source code, adds the extracted character string to the trace log, and stores the trace log in a storage device.
23 Citations
13 Claims
-
1. An information processing apparatus including one or more processors configured to perform a procedure, the procedure comprising:
-
executing a program including a log acquisition command having set therein identification information on a file describing a source code of the program, version number information on the source code, and a variable, and acquiring a value of the variable set in the log acquisition command when the log acquisition command has reached a stage of execution; and generating a trace log including the identification information on the file and the version number information set in the log acquisition command in the stage of execution, and the value of the acquired variable, and storing the trace log in a storage device. - View Dependent Claims (2)
-
-
3. An information processing apparatus including one or more processors configured to perform a procedure, the procedure comprising:
-
acquiring, based on a trace log including identification information on a file describing a source code of a program, version number information on the source code, and a value of a variable, the source code corresponding to a combination of the identification information on the file and the version number information; and extracting from the source code acquired based on the trace log, a character string related to the trace log, adding the extracted character string to the trace log, and storing the trace log having the character string added thereto, in a storage device. - View Dependent Claims (4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method of acquiring a trace log, the method comprising:
-
a first procedure executed by a first information processing apparatus, comprising; executing a program including a log acquisition command having set therein identification information on a file describing a source code of the program, version number information on the source code, and a variable; acquiring, when the log acquisition command has reached a stage of execution, a value of the variable set in the log acquisition command in the stage of execution; generating a trace log including the identification information on the file and the version number information set in the log acquisition command in the stage of execution, and the acquired value of the variable; and storing the generated trace log in a first storage device; and a second procedure executed by a second information processing apparatus, comprising; acquiring, based on the trace log stored in the first storage device, a source code corresponding to a combination of the identification information on the file and the version number information included in the trace log; extracting from the source code acquired based on the trace log, a character string related to the trace log, and adding the extracted character string to the trace log; and storing the trace log having the character string added thereto, in a second storage device. - View Dependent Claims (13)
-
Specification