1. A computer-implemented method comprising: obtaining an execution trace of an application program, wherein the execution trace comprises a sequence of ordered programming instructions generated during execution of the application program indicating an execution flow of the application program; partitioning the sequence of ordered programming instructions into a plurality of linked code segments comprising first and second code segments, wherein the first code segment comprises a terminating programming instruction that terminates the first code segment and links the first code segment to an initial programming instruction of the second code segment; generating a directed graph representing the execution flow of the application program between the plurality of linked code segments, wherein the directed graph comprises a plurality of linked nodes representing the plurality of linked code segments; and outputting the directed graph to a graphical user interface (GUI) for display; responsive to a user selecting a node of the plurality of linked nodes within the GUI, outputting source code of the application program that corresponds to the selected node to the GUI.