首页    期刊浏览 2024年11月29日 星期五
登录注册

文章基本信息

  • 标题:Automated Breakpoint Generation for Debugging
  • 本地全文:下载
  • 作者:Zhang, Cheng ; Yang, Juyuan ; Yan, Dacong
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2013
  • 卷号:8
  • 期号:3
  • 页码:603-616
  • DOI:10.4304/jsw.8.3.603-616
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:In debugging processes breakpoints are frequently used toinspect and understand the run-time program behavior. Althoughmodern development environments provide convenient breakpointutilities, it mostly requires considerable human effort to createuseful breakpoints. Before setting a breakpoint or typing abreakpoint condition, developers usually have to make somejudgements and hypotheses based on their observations andexperiences. To reduce such kind of effort, we propose an approachto automatically generating breakpoints for debugging. We combinethe nearest neighbor queries method, dynamic program slicing, andmemory graph comparison to identify suspicious program statementsand states. Based on this information, breakpoints are generated anddivided into two groups, where the primary group containsconditional breakpoints and the secondary group containsunconditional ones. We implement the presented approach on top ofthe Eclipse JDT platform. Our objective experiments and user studyindicate that the generated breakpoints can be effective in aiding debugging work.
  • 关键词:software debugging;breakpoint generation
国家哲学社会科学文献中心版权所有