Method and system for tracing and displaying execution of nested functions
AssigneeInternational Business Machines Corporation
InventorsLuca Ferri, Luigi Pichetti, Rosario Gangemi
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsLuca Ferri, Luigi Pichetti, Rosario Gangemi
Estimating the term…
A method and system for tracing the failing or successful execution of nested functions coded with return codes in a thread during its execution. The method and system further allow accessing the thread execution information in the trace file and visualizing the tree structure of the nested functions and the result of the execution for each of them. The method comprises an ENTRY and EXIT trace macro to mark the beginning and the end of execution of the function, a TRACE macro to record messages and program variable values and a QUIT macro marking the failing execution of the corresponding function. Using a Graphical User Interface, an interactive trace analyzer reads the trace file and display the tree structure of the nested functions and marks by using different colors the success of failure of each of them. The trace analyzer utilities helps the user to quickly identify the error in the source code corresponding to a function with a failing execution.
A method for identifying errors in the source code stored on a computer of program components comprising nested functions which may use return codes and executed in a multithread environment, said method comprising the steps of:
Dependencies are inferred from the claim text.