US 11,921,620 B2
Generating a visualization of blocks of code statements related to errors in a log file
Sri Harsha Varada, Vizianagaram (IN); Lakshmi Soumya Suggala, Visakhapatnam (IN); Sarbajit K. Rakshit, Kolkata (IN); and Venkata Vara Prasad Karri, Visakhapatnam (IN)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Sep. 21, 2021, as Appl. No. 17/481,011.
Prior Publication US 2023/0088164 A1, Mar. 23, 2023
Int. Cl. G06F 11/36 (2006.01); G06F 8/73 (2018.01); G06F 8/75 (2018.01); G06T 13/80 (2011.01)
CPC G06F 11/3664 (2013.01) [G06F 8/73 (2013.01); G06F 8/75 (2013.01); G06F 11/3692 (2013.01); G06T 13/80 (2013.01); G06T 2200/24 (2013.01)] 17 Claims
OG exemplary drawing
 
14. A method for providing a visualization of errors in program code, comprising:
providing a log file indicating errors logged during execution of program code;
analyzing source code from which the program code is compiled to determine blocks of statements in the source code that when executed resulted in the errors indicated in the log file;
annotating the blocks of statements in the source code with information on the errors indicated in the log file resulting from the execution of the blocks of statements, wherein the information for the annotated blocks of statements maps the errors in the log file to the blocks of statements in the source code;
processing the annotated blocks of statements to determine whether at least one of the annotated blocks of statements results in a logged error that received user input;
capturing a screen shot of a user interface in which a user entered user input in response to determining at least one of the annotated blocks of statements resulted in the logged error that received the user input; and
generating a video providing a visualization of the annotated blocks of statements in the source code and the captured screen shot of the user interface, wherein the visualization renders an animation, which represents the received user input, adjacent to the annotated block of statements.