{"title":"A Novel Method for Live Debugging of Production Web Applications by Dynamic Resource Replacement","authors":"Khalid Al-Tahat, Khaled Zuhair Mahmoud, Ahmad Al-Mughrabi","volume":93,"journal":"International Journal of Computer and Information Engineering","pagesStart":1645,"pagesEnd":1650,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/9999358","abstract":"<p>This paper proposes a novel methodology for enabling<br \/>\r\ndebugging and tracing of production web applications without<br \/>\r\naffecting its normal flow and functionality. This method of debugging<br \/>\r\nenables developers and maintenance engineers to replace a set of<br \/>\r\nexisting resources such as images, server side scripts, cascading<br \/>\r\nstyle sheets with another set of resources per web session. The new<br \/>\r\nresources will only be active in the debug session and other sessions<br \/>\r\nwill not be affected. This methodology will help developers in tracing<br \/>\r\ndefects, especially those that appear only in production environments<br \/>\r\nand in exploring the behaviour of the system. A realization of the<br \/>\r\nproposed methodology has been implemented in Java.<\/p>\r\n","references":"[1] E. W. Dijkstra, Notes on Structured Programming,Editors, Academic\r\nPress, London, pp. 1-82,1972\r\n[2] Ehud Y. Shapiro, Algorithmic Program Debugging, MIT Press,\r\nCam-bridge, MA, 1983.\r\n[3] B.Hailpern, P. Santhanam, Software debugging, testing, and\r\nverification,IBM Systems Journal, 2002, Vol.41, Issue.1.\r\n[4] Lewish, G. Modernizing Legacy Systems: Software Technologies,\r\nEngineering Processes, and Business Practices. Addison-Wesley,\r\nBoston(2003).\r\n[5] B. Hailpern, P. Santhanam, IEEE Guide to the Use of IEEE Standard\r\nDictionary of Measures to Produce Reliable Software, IEEE Standard\r\n982.2-1988, IEEE, New York (1989).\r\n[6] R.McCauleya, .Fitzgeraldb, G.Lewandowskic, L.Murphyd, B.Simone,\r\nL.Thomasf and C.Zanderg , emphDebugging- A Review of the literature\r\nfrom an educational perspective, Computer Science Education, pages\r\n67-92,Volume 18, No. 2,June 2008\r\n[7] F.Tip, emphA Survey of Program Slicing Techniques,Technical Report,\r\nCWI, Amsterdam, The Netherlands, 1994.\r\n[8] M. Weiser, emphProgram slices: formal, psychological, and practical\r\ninvestigations of an automatic program abstraction method, PhD thesis,\r\nUniversity of Michigan, Ann Arbor, 1979.\r\n[9] M. Weiser, emphProgrammers use slices when debugging,\r\nCommunications of the ACM, pages 446-452 Volume 5, Issue 7\r\n1982.\r\n[10] 10- M. Weiser, Program slicing, IEEE Transactions on Software\r\nEngineering, 352357, Volume 10, Issue 4 ,1984.\r\n[11] J. Ferrante, K.J. Ottenstein, and J.D. Warren, The program dependence\r\ngraph and its use in optimization, ACM Transactions on Programming\r\nLanguages and Systems, pages 319-349, Volume 9, Issue , 1987.\r\n[12] F. Bergeretti and B.A. Carre, Information-flow and data-flow analysis\r\nof while-programs, ACM Transactions on Programming Languages and\r\nSystems, 3761, Volume 7, Issue 1 ,1985.\r\n[13] N.Rodrigues, emphComponent Identification Through Program Slicing,\r\nElectronic Notes in Theoretical Computer Science, pages 291304 Volume\r\n160, 8 August 2006.\r\n[14] T.Amtoft, Slicing for modern program structures: a theory for\r\neliminating irrelevant loops, Information Processing Letters, Pages 45-51,\r\nVolume 106, Issue 2, 15 April 2008.\r\n[15] D.Qi, A.Roychoudhury, Z.Liang, and K.Vaswani, DARWIN: An\r\napproach to debugging evolving programs,ACM Transactions on Software\r\nMethodolgy Methodology, Volume 21, Issue 3 ,July 2012\r\n[16] C.Zamfir, B.Kasikci, J.Kinder, E.Bugnion, G.Candea, Automated\r\ndebugging for arbitrarily long executions, In Proceedings of the 14th\r\nUSENIX conference on Hot Topics in Operating Systems (HotOS\u201913).\r\nUSENIX Association, Berkeley, CA, USA,Year:2013.\r\n[17] D.Abramson, C.Chu, D.Kurniawan1, A.Searle, emphRelative debugging\r\nin integrated development environment, SoftwarePractice and Experience\r\n, pages1157\u20131183. Volume 39, Issue 14, Year 2009.\r\n[18] J.Kabanov, JRebel Tool Demo, Electronic Notes in Theoretical Computer\r\nScience Volume 264 Issue.14, Year 2011.\r\n[19] JRebel Website, zeroturnaround.com\/software\/jrebel, 5\/5\/2014\r\n[20] Servlet Filters, http:\/\/www.oracle.com\/technetwork\/java\/filters-137243.html,\r\n5\/5\/2014","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 93, 2014"}