一种基于最小调试边界的断点自动生成技术-计算机体系结构国家重点.pdf

一种基于最小调试边界的断点自动生成技术-计算机体系结构国家重点.pdf

一种基于最小调试边界的断点自动生成技术-计算机体系结构国家重点

 一种基于最小调试边界的断点自动生成技术 李丰 霍玮 陈聪明 李龙 衷璐洁 冯晓兵 (中国科学院计算技术研究所计算机体系结构国家重点实验室,北京 100190 ) An Automatic Breakpoint Generating Approach based on Minimum Debugging Frontier Set LI Feng, HUO Wei, CHEN Congming, LI Long, ZHONG Lujie, FENG Xiaobing (State Key Laboratory of Computer Architecture, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China) Email: {lifeng2005, huowei, chencongming, lilong, zhonglujie, fxb}@ Abstract: Until recently, debugging still takes almost 70% of the time in software engineering. The conventional debugging process, based on setting breakpoints and inspecting the states on them, remains the most common and useful way to detect faults. The efficiency of debugging differs a lot as both the selection and inspection of breakpoints are up to programmers. In this paper, we present a novel breakpoint generating approach based on a new concept named minimum debugging frontier sets (abbr. MDFS). A debugging frontier set describes a set of trace points which have the ability of bug isolation, and a MDFS is the one with minimum size. Benefit from the ability of bug isolation, the error suspicious domain will always be narrowed down to one side of the MDFS no matter the state of MDFS is proven correct or not. Breakpoints generated on the basis of MDFS also make the statement instances to be inspected at each breakpoint at the minimum. We also establish a set of criterions to judge the quality of breakpoints. Empirical result indicates that breakpoints generated through our approach not only require low inspecting cost but also have the ability to accelerate the efficiency of debugging. It also shows that our MDFS-based debugging prototype performs better than the state-of-art fault-localization techniques on the Siemens Suite. Keywor

文档评论(0)

1亿VIP精品文档

相关文档