Reducing code size of debug output statements
AssigneeLucent Technologies Inc.
InventorsStuart Warmink, Kin Ling Leung, Robert D. Trachtenberg, Jay Wang, Peter Allen Dempsey, Lakshmanan Parameswaran
Life of this patent
Estimating the term…
Loading patent…
AssigneeLucent Technologies Inc.
InventorsStuart Warmink, Kin Ling Leung, Robert D. Trachtenberg, Jay Wang, Peter Allen Dempsey, Lakshmanan Parameswaran
Estimating the term…
The source code for a computer program contains a plurality of debug output statements that provide a debug output string when the computer program is running. Each debug output statement comprises a fixed-content text string field which is provided in the debug output string. The fixed-content text string field of each debug output statement is replaced with a unique text string number to provide stripped source code. A number-to-string mapping table for translating each unique text string number into a corresponding fixed-content text string is constructed. The stripped source code is compiled to provide stripped object code. The stripped object code for the computer program is run on a target computer. A debug computer receives debug output strings from corresponding debug output statements of the computer program, each debug output string having a unique text string number. The debug computer translates the unique text string number for each debug output string into a corresponding text string using the number-to-string mapping table, and replaces the unique text string number in the debug output string with the corresponding text string to provide an un-stripped debug output string. The debug computer displays the un-stripped debug output string.
A method, comprising the steps of:
A system comprising:
A debug computer for debugging a computer program having object code running on a target computer, the debug computer comprising:
Dependencies are inferred from the claim text.