By Topic

A Debugging Approach for Java Runtime Exceptions Based on Program Slicing and Stack Traces

Sign In

Cookies must be enabled to login.After enabling cookies , please use refresh or reload or ctrl+f5 on the browser for the login options.

Formats Non-Member Member
$33 $13
Learn how you can qualify for the best price for this item!
Become an IEEE Member or Subscribe to
IEEE Xplore for exclusive pricing!
close button

puzzle piece

IEEE membership options for an individual and IEEE Xplore subscriptions for an organization offer the most affordable access to essential journal articles, conference papers, standards, eBooks, and eLearning courses.

Learn more about:

IEEE membership

IEEE Xplore subscriptions

4 Author(s)
Shujuan Jiang ; Sch. of Comput. Sci. & Technol., China Univ. of Min. & Technol., Xuzhou, China ; Hongchang Zhang ; Qingtan Wang ; Yanmei Zhang

Program debugging is an important process to improve the quality of software. Runtime exception can occur often and can be difficult to debug. In this paper, we present a new approach for locating faults that cause runtime exceptions in Java programs due to error assignment of a value that finally leads to the exception. Our approach first uses program slicing to reduce the search scope, then performs a backward data flow analysis, starting from the point where the exception occurred, and then uses stack trace information to guide the analysis to determine the source statement that is responsible for the runtime exception. The paper also presents a case study to demonstrate that the method is available. The approach not only resolves partly the imprecise of static techniques, but also reduces partly the heavy performance overhead of dynamic techniques.

Published in:

2010 10th International Conference on Quality Software

Date of Conference:

14-15 July 2010