Error finder tool
AssigneeSap SE
InventorsSangeetha V, Praveen K R, Kumar Vidya Bhushan, Sebin Chacko, Pooja Luthra, Ronakkumar Patel, Madhuri Jayanth Patil, Shivam Shrivastav
Life of this patent
Estimating the term…
Abstract
According to some embodiments, systems and methods are provided, comprising receiving at least one filter parameter in a filter parameter field and tracing features for tracing execution of an application, wherein the application includes a source code; executing the application while tracing the execution, based on the tracing features, to generate a trace; analyzing the generated trace; and determining a portion of the source code associated with a software bug based on the analysis. Numerous other aspects are provided.
Claims18
A computer-implemented method comprising:
- providing a user interface adapted to receive tracing features prior to tracing execution of an application;
- receiving tracing features at the user interface, the tracing features including at least one filter parameter and at least one of execution data and a trace parameter, wherein the at least one filter parameter is received in a filter parameter field of the user interface, wherein the execution data is an application type, the trace parameter is a description of a saved trace, and the filter parameter is at least one of an application component, a software component, a package component, an all code parameter and a customer code parameter, wherein the at least one filter parameter and the at least one of execution data and the trace parameter are adapted to restrict subsequent execution of a trace;
- wherein any of the received tracing features identifies one or more sections of code in which to execute the subsequent trace, the trace comprising one or more steps the application performs to complete a task, wherein the application includes a source code;
- executing the application while tracing the execution, the execution based on the received at least one filter parameter and the received at least one of execution data and trace parameter, to generate the trace;
- analyzing the generated trace, wherein analyzing the generated trace further comprises selecting a list of selectable application components to display the trace results and determining the portion of code responsible for the software bug;
- refining the trace when the portion of code responsible for the bug cannot be determined, wherein refining the trace comprises:
- selecting, from a component list, an object providing a function of the trace, wherein selection of the object sets a breakpoint which opens a debugger to analyze the execution, wherein setting the breakpoint prompts for a username to be associated with the breakpoint;
- and re-executing the application after the breakpoint is set.
A system comprising:
- a display;
- a memory storing processor-executable steps;
- and
- an error finder processor to execute the processor-executable process steps to cause the system to:
- present a user interface on a display, the user interface including one or more user-entry fields to receive tracing feature data prior to tracing execution of an application;
- receive tracing feature data at the user interface for tracing subsequent execution of the application, wherein the application includes a source code, and wherein the received tracing feature data identifies one or more sections of code in which to execute a subsequent trace, the trace comprising one or more steps the application performs to complete a task, wherein the tracing feature data includes at least one filter parameter and at least one of execution data and a trace parameter, wherein the execution data is an application type and a trace parameter is a description of a saved trace, and the at least one filter parameter and the at least one of execution data and the trace parameter are adapted to restrict subsequent execution of the trace;
- execute the application while tracing the execution, the execution based on the received tracing feature data, to generate the trace;
- select a list of selectable application components to display the trace results, display the generated trace on the user interface, and determine the portion of the code responsible for the software bug;
- refine the trace when the portion of the code responsible for the bug cannot be determined, wherein refining the trace comprises:
- receiving selection of an object providing a function of the trace, wherein selection of the object sets a breakpoint in the generated trace to analyze the displayed generated trace, wherein the breakpoint is a point in the code to begin application debugging and selection of the object opens a debugger to analyze the trace, wherein setting the breakpoint prompts for a username to be associated with the breakpoint;
- and
- re-executing the application after the breakpoint is set.
A non-transitory computer-readable medium storing program code, the program code executable by a computer system to cause the computer system to:
- present a user interface on a display, the user interface including one or more user-entry filter parameter fields to receive one or more filter parameters and one or more user-entry fields to receive tracing feature data prior to execution of an application;
- receive tracing feature data at the user interface, the tracing features including at least one filter parameter and at least one of execution data and a trace parameter, wherein the execution data is an application type, the trace parameter is a description of a saved trace, and the at least one filter parameter is at least one of an application component, a software component, a package component, an all code parameter and a customer code parameter wherein the at least one filter parameter and the at least one of execution data and the trace parameter are adapted to restrict subsequent execution of a trace;
- wherein any of the received tracing feature data identifies one or more sections of code in which to execute the subsequent trace, the trace comprising one or more steps an application performs to complete a task, wherein the application includes a source code;
- execute the application while simultaneously tracing the execution, the execution based on the received at least one filter parameter and the received at least one of execution data and trace parameter, to generate the trace;
- display the generated trace on the user interface;
- analyze the displayed generated trace, wherein analyzing the generated trace further comprises selecting a list of selectable application components to display the trace results and determining the portion of code responsible for the software bug;
- refine the trace when the portion of code responsible for the bug cannot be determined, wherein refining the trace comprises:
- selecting, from a component list, an object providing a function of the trace, wherein selection of the object sets a breakpoint which opens a debugger to analyze the execution, wherein setting the breakpoint prompts for a username to be associated with the breakpoint;
- and
- re-executing the application after the breakpoint is set.
Dependencies are inferred from the claim text.