-
公开(公告)号:US06611924B1
公开(公告)日:2003-08-26
申请号:US09354595
申请日:1999-07-16
申请人: Stuart Warmink , Kin Ling Leung , Robert D. Trachtenberg , Jay Wang , Peter Allen Dempsey , Lakshmanan Parameswaran
发明人: Stuart Warmink , Kin Ling Leung , Robert D. Trachtenberg , Jay Wang , Peter Allen Dempsey , Lakshmanan Parameswaran
IPC分类号: G06F1100
CPC分类号: G06F11/3624 , G06F11/3636
摘要: 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.
摘要翻译: 计算机程序的源代码包含多个调试输出语句,它们在计算机程序运行时提供调试输出字符串。 每个调试输出语句包括在调试输出字符串中提供的固定内容文本字符串字段。 每个调试输出语句的固定内容文本字符串字段将替换为唯一的文本字符串数字,以提供剥离的源代码。 构建用于将每个唯一文本字符串号转换成对应的固定内容文本字符串的数字到字符串映射表。 剥离的源代码被编译为提供剥离的对象代码。计算机程序的剥离目标代码在目标计算机上运行。 调试计算机从计算机程序的相应调试输出语句接收调试输出字符串,每个调试输出字符串具有唯一的文本串号。 调试计算机使用数字到字符串映射表将每个调试输出字符串的唯一文本字符串编号转换为对应的文本字符串,并使用相应的文本字符串替换调试输出字符串中的唯一文本字符串数字,以提供un - 调试输出字符串。 调试计算机显示未剥离的调试输出字符串。