The Potential Use of ChatGPT for Debugging and Bug Fixing

Authors

DOI:

https://doi.org/10.4108/airo.v2i1.3276

Keywords:

ChatGpt, Debugger, GPT-3.5, Language Model

Abstract

ChatGPT is a cutting-edge language model that has been making waves in the field of natural language processing. However, its capabilities extend far beyond language-based applications. ChatGPT can also be used as a powerful tool for debugging software code. As software applications become increasingly complex, the need for efficient and accurate debugging tools has become more pressing. ChatGPT's ability to analyze and understand code makes it a promising solution to this challenge. Debugging is a critical part of the software development process. Bugs, or errors in code, can have serious consequences for the functionality and security of software applications. Identifying and fixing bugs can be a time-consuming and labor-intensive process, requiring the expertise of experienced developers. ChatGPT has the potential to streamline this process and make it more accessible to a wider range of developers, regardless of their experience level. In this article, we will explore the capabilities of ChatGPT as a debugging tool, the advantages and limitations of using it, and best practices for integrating it into the software development workflow.

Downloads

Download data is not yet available.

References

Wotawa F, Nica M, Moraru I. Automated debugging based on a constraint model of the program and a test case. The Journal of Logic and Algebraic Programming, Volume 81, Issue 4, 2012, Pages 390-407.

Srivastva S, Dhir S. Debugging approaches on various software processing levels. Int. conference of Electronics, Communication and Aerospace Technology (ICECA), Coimbatore, India, 2017, pp. 302-306.

Haque MA. Problems in Aspect Oriented Design: Facts and Thoughts. Int. Journal of Computer Science Issues, Vol. 8, Issue 2, pages 552-556, March 2011.

Steven PR. Visual representations of executing programs. Journal of Visual Languages and Computing 18(2) pp. 126-148 (2007).

Bas C. et al. A systematic survey of program comprehension through dynamic analysis. Technical Report TUDSERG-2008-033, Delft University of Technology, 2008.

McCauley R et al. Debugging: a review of the literature from an educational perspective, Computer Science Education, 18:2, 67-92, 2008.

Andrew J. et al. Debugging reinvented: asking and answering why and why not questions about program behaviour. Int. Conference on Software Engineering 2008, pp. 301-310.

Chmiel R, Loui MC. Debugging: from novice to expert. ACM SIGCSE Bulletin 36(1): 17- 21, 2004.

Introducing ChatGPT: https://openai.com/blog/chatgpt.

Haque MA. A Brief Analysis of ‘ChatGPT’ – A Revolutionary Tool Designed by OpenAI. EAI Endorsed Transactions on AI and Robotics, vol. 1, no. 1, p. e15, Mar. 2023.

George AS, George AH. A Review of ChatGPT AI's Impact on Several Business Sectors. Partners Universal International Innovation Journal, 1(1), pp.9-23, 2023.

Frederico GF. ChatGPT in Supply Chains: Initial Evidence of Applications and Potential Research Agenda. Logistics. 2023; 7(2):26.

Wen J, Wang W. The future of ChatGPT in academic research and publishing: A commentary for clinical and translational medicine. Clin Transl Med. 2023; 13:e1207.

Sallam M. ChatGPT Utility in Healthcare Education, Research, and Practice: Systematic Review on the Promising Perspectives and Valid Concerns. Healthcare. 2023; 11(6):887.

PP Ray. ChatGPT: A comprehensive review on background, applications, key challenges, bias, ethics, limitations and future scope. Internet of Things and Cyber-Physical Systems, Volume 3, 2023, Pages 121-154.

Hassani H, Silva ES. The Role of ChatGPT in Data Science: How AI-Assisted Conversational Interfaces Are Revolutionizing the Field. Big Data Cogn. Comput. 2023, 7(2), 62.

Thomas C. ChatGPT becomes ChatRepair to automate bug fixing for less. The Register, RSA Conference, April-2023. https://www.theregister.com/2023/04/05/chatrepair_automates_bug_hunting/.

A. Haleem, M. Javaid and RP Singh, “An era of ChatGPT as a significant futuristic support tool: A study on features, abilities, and challenges”, BenchCouncil Transactions on Benchmarks, Standards and Evaluations, vol. 2 (4), 2023.

Cao J et al. A study on Prompt Design, Advantages and Limitations of ChatGPT for Deep Learning Program Repair. https://arxiv.org/pdf/2304.08191.pdf, 2023.

Taecharungroj V. “What Can ChatGPT Do?” Analyzing Early Reactions to the Innovative AI Chatbot on Twitter. Big Data Cogn. Comput. 2023, 7, 35.

Mathew A. Is Artificial Intelligence a World Changer? A Case Study of OpenAI’s Chat GPT. Recent Progress in Science and Technology, Vol. 5, pp.35-42, 2023.

Hughes A. ChatGPT: Everything you need to know about OpenAI's GPT-3 tool. BBC Science Focus Magazine, 2023.

Downloads

Published

03-05-2023 — Updated on 03-05-2023

How to Cite

[1]
M. A. Haque and S. Li, “The Potential Use of ChatGPT for Debugging and Bug Fixing”, EAI Endorsed Trans AI Robotics, vol. 2, May 2023.

Most read articles by the same author(s)