Reducing code size of debug output statements
US6611924B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Jul 16, 1999 |
| Grant date | Aug 26, 2003 |
| Priority date | — |
| Expiry date | Jul 16, 2019 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3636
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
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 st…
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.