Cues for Better Scent in Debugging
-
Upload
rui-maranhao-abreu -
Category
Documents
-
view
179 -
download
2
Transcript of Cues for Better Scent in Debugging
Cues for Better Scent in Debugging
Rui AbreuDept. of Informatics Engineering
University of PortoPortugal
History:The birth of debugging
Your guess?
Thanks to Alex Thanks to Alex OrsoOrso
Can we do this Can we do this automatically?automatically?
Thanks to Alex Thanks to Alex OrsoOrso
Diagnostic Performance
39
Are we done?•Best performing techniques still
require the tester to inspect 10% of the code...•100 LOC 10 LOC•10,000 LOC 1,000 LOC•1000,000 LOC 10,000 LOC
40
Metrics•Are we measuring the right thing?•rank-based
•PDG-based
41
Case Studies (NXP/PSC)
42
Human studies•A. Orso et al observed that there is a
lack of:
43
Why do we need human studies?
•Do developers follow the ranking?
•Does perfect bug understanding exist?•How can we quantify isolation
efforts?
44
Ecosystem in need•Wide adoption will only be possible
if there is a framework which provides•testing functionalities•debugging capabilities•integrated in an IDE
Better Cues for Debugging – a Better Cues for Debugging – a frameworkframework
Check it out at www.gzoltar.orgCheck it out at www.gzoltar.org
45
Interested?•Do you wanna try it out?•We are always interested in
receiving feedback•Email José Carlos Campos to
participate•[email protected]
•Thanks!
46
Conclusions•History of debugging
•Spectrum-based reasoning
•Human studies
47
Open Research Questions• Can we automatically decide if a test fails?
• Using program invariants• Sort of replace asserts in JUnit tests
• Can we automatically suggest fixes?• Other intuitive visualisations?• How to reduce the overall overhead?• Can we apply this principles to Web/Mobile
envs?• Self-healing: Architecture-based Run-time
fault localization (NSF project with CMU)
Show time