US 12,135,633 B2
Source-level debugging of intermediate code
David Sariel, Holon (IL); and Arie Bregman, Yan Gavne (IL)
Assigned to Red Hat, Inc., Raleigh, NC (US)
Filed by RED HAT, INC., Raleigh, NC (US)
Filed on Mar. 18, 2022, as Appl. No. 17/699,023.
Prior Publication US 2023/0297491 A1, Sep. 21, 2023
Int. Cl. G06F 11/36 (2006.01); G06F 8/73 (2018.01)
CPC G06F 11/3624 (2013.01) [G06F 8/73 (2013.01); G06F 11/366 (2013.01); G06F 11/3664 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system comprising:
a memory device; and
a processing device, operatively coupled to the memory device, to perform operations comprising:
identifying a plurality of pipeline definition file (PDF) lines from which a pipeline entity code (PEC) line of a PEC module is generated;
generating a plurality of source mappings for the PEC line, wherein each respective source mapping:
corresponds to a respective PDF line from which the PEC line is generated; and
associates the PEC line with the respective PDF line and a respective PDF module name of the respective PDF line; and
storing, in a data store, the plurality of source mappings in association with a name of the PEC module;
executing a pipeline program in a debugging session to debug the PEC module, wherein the pipeline program is compiled from the PEC module;
presenting the PEC line during executing the pipeline program in the debugging session;
retrieving, from the data store, the plurality of source mappings; and
presenting, based on the plurality of source mappings, the plurality of PDF lines in association with the PEC line.