DocumentCode
3730258
Title
Fast reproducing web application errors
Author
Jie Wang;Wensheng Dou;Chushu Gao;Jun Wei
Author_Institution
State Key Lab of Computer Science, Institute of Software, Chinese Academy of Sciences
fYear
2015
Firstpage
530
Lastpage
540
Abstract
JavaScript has become the most popular language for client-side web applications. Due to JavaScript´s highly-dynamic features and event-driven design, it is not easy to debug web application errors. Record-replay techniques are widely used to reproduce errors in web applications. However, the key events related to an error are hidden in the massive event trace collected during a long running. As a result, error diagnosis with the long event trace is exhausting and time-consuming. We present a tool JSTrace that can effectively cut down the web application error reproducing time and facilitate the diagnosis. Based on the dynamic dependencies of JavaScript and DOM instructions, we develop a novel dynamic slicing technique that can remove events irrelevant to the error reproducing. In this process, many events and related instructions are removed without losing the reproducing accuracy. Our evaluation shows that the reduced event trace can faithfully reproduce errors with an average reduction rate of 96%.
Keywords
"Analytical models","Computer bugs","Debugging","HTML","Semantics","Browsers","Dispatching"
Publisher
ieee
Conference_Titel
Software Reliability Engineering (ISSRE), 2015 IEEE 26th International Symposium on
Type
conf
DOI
10.1109/ISSRE.2015.7381845
Filename
7381845
Link To Document