Volume 8 Number 3 (Mar. 2013)
Home > Archive > 2013 > Volume 8 Number 3 (Mar. 2013) >
JSW 2013 Vol.8(3): 603-616 ISSN: 1796-217X
doi: 10.4304/jsw.8.3.603-616

Automated Breakpoint Generation for Debugging

Cheng Zhang1, 3, Juyuan Yang2, Dacong Yan4, Shengqian Yang4, Yuting Chen2
1Department of Computer Science & Engineering, Shanghai Jiao Tong University, Shanghai, China.
2School of Software, Shanghai Jiao Tong University, Shanghai, China.
3State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing, China
4Computer Science and Engineering Department, Ohio State University

Abstract—In debugging processes breakpoints are frequently used to inspect and understand the run-time program behavior. Although modern development environments provide convenient breakpoint utilities, it mostly requires considerable human effort to create useful breakpoints. Before setting a breakpoint or typing a breakpoint condition, developers usually have to make some judgements and hypotheses based on their observations and experiences. To reduce such kind of effort, we propose an approach to automatically generating breakpoints for debugging. We combine the nearest neighbor queries method, dynamic program slicing, and memory graph comparison to identify suspicious program statements and states. Based on this information, breakpoints are generated and divided into two groups, where the primary group contains conditional breakpoints and the secondary group contains unconditional ones. We implement the presented approach on top of the Eclipse JDT platform. Our objective experiments and user study indicate that the generated breakpoints can be effective in aiding debugging work.

Index Terms—Software debugging, breakpoint generation.


Cite: Cheng Zhang, Juyuan Yang, Dacong Yan, Shengqian Yang, Yuting Chen, "Automated Breakpoint Generation for Debugging," Journal of Software vol. 8, no. 3, pp. 603-616, 2013.

General Information

ISSN: 1796-217X (Online)
Frequency:  Bimonthly (Since 2020)
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, Google Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsw@iap.org
  • Apr 26, 2021 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Jun 22, 2020 News!

    Papers published in JSW Vol 14, No 1- Vol 15 No 4 have been indexed by DBLP     [Click]

  • Sep 13, 2021 News!

    The papers published in Vol 16, No 6 have all received dois from Crossref    [Click]

  • Jan 28, 2021 News!

    [CFP] 2021 the annual meeting of JSW Editorial Board, ICCSM 2021, will be held in Rome, Italy, July 21-23, 2021   [Click]

  • Sep 13, 2021 News!

    Vol 16, No 6 has been published with online version     [Click]