{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T19:42:30Z","timestamp":1795203750147,"version":"4.10.3"},"reference-count":48,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T00:00:00Z","timestamp":1750291200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nd\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["2243636"],"award-info":[{"award-number":["2243636"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,19]]},"abstract":"<jats:p>\n                    Debugging is a critical but challenging task for programmers. This paper proposes\n                    <jats:sc>ChatDBG,<\/jats:sc>\n                    an AI-powered debugging assistant.\n                    <jats:sc>ChatDBG<\/jats:sc>\n                    integrates large language models (LLMs) to significantly enhance the capabilities and user-friendliness of conventional debuggers.\n                    <jats:sc>ChatDBG<\/jats:sc>\n                    lets programmers engage in a collaborative dialogue with the debugger, allowing them to pose complex questions about program state, perform root cause analysis for crashes or assertion failures, and explore open-ended queries like \u2018\n                    <jats:monospace>why is x null?<\/jats:monospace>\n                    \u2019. To handle these queries,\n                    <jats:sc>ChatDBG<\/jats:sc>\n                    grants the LLM autonomy to\n                    <jats:italic toggle=\"yes\">take the wheel:<\/jats:italic>\n                    it can act as an independent agent capable of querying and controlling the debugger to navigate through stacks and inspect program state. It then reports its findings and yields back control to the programmer. By leveraging the real-world knowledge embedded in LLMs,\n                    <jats:sc>ChatDBG<\/jats:sc>\n                    can diagnose issues identifiable only through the use of domain-specific reasoning. Our\n                    <jats:sc>ChatDBG<\/jats:sc>\n                    prototype integrates with standard debuggers including LLDB and GDB for native code and Pdb for Python. Our evaluation across a diverse set of code, including C\/C++ code with known bugs and a suite of Python code including standalone scripts and Jupyter notebooks, demonstrates that\n                    <jats:sc>ChatDBG<\/jats:sc>\n                    can successfully analyze root causes, explain bugs, and generate accurate fixes for a wide range of real-world errors. For the Python programs, a single query led to an actionable bug fix 67% of the time; one additional follow-up query increased the success rate to 85%.\n                    <jats:sc>ChatDBG<\/jats:sc>\n                    has seen rapid uptake; it has already been downloaded more than 75,000 times.\n                  <\/jats:p>","DOI":"10.1145\/3729355","type":"journal-article","created":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T11:15:34Z","timestamp":1750331734000},"page":"1892-1913","source":"Crossref","is-referenced-by-count":24,"title":["ChatDBG: Augmenting Debugging with Large Language Models"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0009-0005-2533-7499","authenticated-orcid":false,"given":"Kyla H.","family":"Levin","sequence":"first","affiliation":[{"name":"University of Massachusetts Amherst, Amherst, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1708-0073","authenticated-orcid":false,"given":"Nicolas","family":"van Kempen","sequence":"additional","affiliation":[{"name":"University of Massachusetts Amherst, Amherst, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3222-3271","authenticated-orcid":false,"given":"Emery D.","family":"Berger","sequence":"additional","affiliation":[{"name":"University of Massachusetts Amherst, Amherst, USA"},{"name":"Amazon Web Services, Seattle, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-6992-199X","authenticated-orcid":false,"given":"Stephen N.","family":"Freund","sequence":"additional","affiliation":[{"name":"Williams College, Williamstown, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,19]]},"reference":[{"key":"e_1_3_1_1_2","doi-asserted-by":"publisher","unstructured":"Gabin An Minhyuk Kwon Kyunghwa Choi Jooyong Yi Shin Yoo. 2023. BugsC++: A Highly Usable Real World Defect Benchmark for C\/C++. In 38th IEEE\/ACM International Conference on Automated Software Engineering ASE 2023 Luxembourg September 11-15 2023. IEEE 2034\u20132037. doi:10.1109\/ASE56229.2023.00208","DOI":"10.1109\/ASE56229.2023.00208"},{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","unstructured":"Yasharth Bajpai Bhavya Chopra Param Biyani Cagri Aslan Dustin Coleman Sumit Gulwani Chris Parnin Arjun Radhakrishna Gustavo Soares. 2024. Let\u2019s Fix this Together: Conversational Debugging with GitHub Copilot. In 2024 IEEE Symposium on Visual Languages and Human-Centric Computing (VL\/HCC) Liverpool UK September 2-6 2024. IEEE 1\u201312. doi:10.1109\/VL\/HCC60511.2024.00011","DOI":"10.1109\/VL\/HCC60511.2024.00011"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","unstructured":"Robert M. Balzer. 1969. EXDAMS: Extendable Debugging and Monitoring System. In American Federation of Information Processing Societies: AFIPS Conference Proceedings: 1969 Spring Joint Computer Conference Boston MA USA May 14-16 1969 (AFIPS Conference Proceedings Vol. 34) Harrison W. Fuller (Ed.). AFIPS Press Boston MA 567\u2013580. doi:10.1145\/1476793.1476881","DOI":"10.1145\/1476793.1476881"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","unstructured":"Islem Bouzenia Premkumar T. Devanbu Michael Pradel. 2024. RepairAgent: An Autonomous LLM-Based Agent for Program Repair. CoRR abs\/2403.17134 (2024). doi:10.48550\/ARXIV.2403.17134 arXiv:2403.17134","DOI":"10.48550\/ARXIV.2403.17134"},{"key":"e_1_3_1_5_2","unstructured":"LLVM. 2025. What is clangd?. LLVM. Retrieved Feburary 12 2025 from https:\/\/clangd.llvm.org\/"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1214\/aos\/1176344552"},{"key":"e_1_3_1_7_2","unstructured":"Marc Eisenstadt. 1993. Tales of Debugging from The Front Lines. In Empirical Studies of Programmers: Fifth Workshop Vol. 86. Ablex Publishing Corporation Palo Alto CA."},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","unstructured":"Hadeel Eladawy Claire Le Goues Yuriy Brun. 2024. Automated Program Repair What Is It Good For? Not Absolutely Nothing!. In Proceedings of the 46th IEEE\/ACM International Conference on Software Engineering ICSE 2024 Lisbon Portugal April 14-20 2024. ACM New York NY USA 84:1\u201384:13. doi:10.1145\/3597503.3639095","DOI":"10.1145\/3597503.3639095"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/3318162"},{"key":"e_1_3_1_10_2","unstructured":"Izzeddin Gur Hiroki Furuta Austin V. Huang Mustafa Safdari Yutaka Matsuo Douglas Eck Aleksandra Faust. 2024. A Real-World WebAgent with Planning Long Context Understanding and Program Synthesis. In The Twelfth International Conference on Learning Representations ICLR 2024 Vienna Austria May 7-11 2024. OpenReview.net. https:\/\/openreview.net\/forum?id=9JQtrumvg8"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","unstructured":"Andrew Head Fred Hohman Titus Barik Steven Mark Drucker Robert DeLine. 2019. Managing Messes in Computational Notebooks. In Proceedings of the 2019 CHI Conference on Human Factors in Computing Systems CHI 2019 Glasgow Scotland UK May 04-09 2019 Stephen A. Brewster Geraldine Fitzpatrick Anna L. Cox and Vassilis Kostakos (Eds.). ACM New York NY USA 270. doi:10.1145\/3290605.3300500","DOI":"10.1145\/3290605.3300500"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1073\/PNAS.0507655102"},{"key":"e_1_3_1_13_2","unstructured":"ipdb. 2007. IPython PDB. Retrieved March 16 2024 from https:\/\/github.com\/gotcha\/ipdb"},{"key":"e_1_3_1_14_2","unstructured":"IPyflow. 2020. IPyflow: A reactive Python kernel for Jupyter notebooks. https:\/\/github.com\/ipyflow\/ipyflow"},{"key":"e_1_3_1_15_2","unstructured":"Carlos E. Jimenez John Yang Alexander Wettig Shunyu Yao Kexin Pei Ofir Press Karthik R. Narasimhan. 2024. SWE-bench: Can Language Models Resolve Real-world Github Issues?. In The Twelfth International Conference on Learning Representations ICLR 2024 Vienna Austria May 7-11 2024. OpenReview.net. https:\/\/openreview.net\/forum?id=VTF8yNQM66"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3660771"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/S10664-024-10594-X"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/1824760.1824761"},{"key":"e_1_3_1_19_2","unstructured":"A. Kotok. 1961. DEC Debugging Tape."},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","unstructured":"Lucas Layman Madeline Diep Meiyappan Nagappan Janice Singer Robert DeLine Gina Venolia. 2013. Debugging Revisited: Toward Understanding the Debugging Needs of Contemporary Software Developers. In 2013 ACM \/ IEEE International Symposium on Empirical Software Engineering and Measurement Baltimore Maryland USA October 10-11 2013. IEEE Computer Society 383\u2013392. doi:10.1109\/ESEM.2013.43","DOI":"10.1109\/ESEM.2013.43"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","unstructured":"Kyla Levin Nicolas van Kempen Emery Berger Stephen Freund. 2025. Software Artifact for \u201cChatDBG: Augmenting Debugging with Large Language Models\u201d. doi:10.5281\/zenodo.15185773","DOI":"10.5281\/zenodo.15185773"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.18653\/V1\/2024.ACL-LONG.818"},{"key":"e_1_3_1_23_2","unstructured":"Patrick S. H. Lewis Ethan Perez Aleksandra Piktus Fabio Petroni Vladimir Karpukhin Naman Goyal Heinrich K\u00fcttler Mike Lewis Wen-tau Yih Tim Rockt\u00e4schel Sebastian Riedel Douwe Kiela. 2020. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020 NeurIPS 2020 December 6-12 2020 virtual Hugo Larochelle Marc\u2019Aurelio Ranzato Raia Hadsell Maria-Florina Balcan and Hsuan-Tien Lin (Eds.). https:\/\/proceedings.neurips.cc\/paper\/2020\/hash\/6b493230205f780e1bc26945df7481e5-Abstract.html"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3293882.3330574"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","unstructured":"Yi Li Shaohua Wang Tien N. Nguyen. 2021. Fault Localization with Code Coverage Representation Learning. In 43rd IEEE\/ACM International Conference on Software Engineering ICSE 2021 Madrid Spain 22-30 May 2021. IEEE 661\u2013673. doi:10.1109\/ICSE43902.2021.00067","DOI":"10.1109\/ICSE43902.2021.00067"},{"key":"e_1_3_1_26_2","unstructured":"Mark A. Linton. 1990. The Evolution of Dbx. In Proceedings of the Usenix Summer 1990 Technical Conference Anaheim California USA June 1990. USENIX Association Berkeley CA 211\u2013220."},{"key":"e_1_3_1_27_2","unstructured":"LLVM. 2010. LLDB Debugger. LLVM. Retrieved February 6 2024 from https:\/\/lldb.llvm.org\/"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/3468264.3468580"},{"key":"e_1_3_1_29_2","unstructured":"Shan Lu Zhenmin Li Feng Qin Lin Tan Pin Zhou Yuanyuan Zhou. 2005. BugBench: Benchmarks for Evaluating Bug Detection Tools. https:\/\/pages.cs.wisc.edu\/~shanlu\/paper\/63-lu.pdf"},{"key":"e_1_3_1_30_2","unstructured":"Microsoft. 2016. Language Server Protocol. Microsoft. Retrieved September 6 2024 from https:\/\/microsoft.github.io\/language-server-protocol"},{"key":"e_1_3_1_31_2","unstructured":"Robert O\u2019Callahan Chris Jones Nathan Froyd Kyle Huey Albert Noll Nimrod Partush. 2017. Engineering Record and Replay for Deployability. In 2017 USENIX Annual Technical Conference USENIX ATC 2017 Santa Clara CA USA July 12-14 2017 Dilma Da Silva and Bryan Ford (Eds.). USENIX Association 377\u2013389. https:\/\/www.usenix.org\/conference\/atc17\/technical-sessions\/presentation\/ocallahan"},{"key":"e_1_3_1_32_2","unstructured":"OpenAI. 2020. OpenAI API.OpenAI. Retrieved March 18 2024 from https:\/\/openai.com\/index\/openai-api\/"},{"key":"e_1_3_1_33_2","unstructured":"OpenAI. 2023. Function calling and other API updates.OpenAI. Retrieved February 24 2024 from https:\/\/openai.com\/index\/function-calling-and-other-api-updates"},{"key":"e_1_3_1_34_2","unstructured":"OpenAI. 2023. GPT-4 Technical Report. arXiv:2303.08774 [cs.CL] https:\/\/arxiv.org\/abs\/2303.08774"},{"key":"e_1_3_1_35_2","unstructured":"OpenAI. 2024. Pricing - OpenAI. OpenAI. Retrieved March 8 2024 from https:\/\/openai.com\/pricing"},{"key":"e_1_3_1_36_2","unstructured":"GNU Project. 2009. Reverse Debugging with GDB. Free Software Foundation. Retrieved September 6 2024 from https:\/\/sourceware.org\/gdb\/wiki\/ReverseDebug"},{"key":"e_1_3_1_37_2","unstructured":"Konstantin Serebryany Derek Bruening Alexander Potapenko Dmitriy Vyukov. 2012. AddressSanitizer: A Fast Address Sanity Checker. In 2012 USENIX Annual Technical Conference Boston MA USA June 13-15 2012 Gernot Heiser and Wilson C. Hsieh (Eds.). USENIX Association 309\u2013318. https:\/\/www.usenix.org\/conference\/atc12\/technical-sessions\/presentation\/serebryany"},{"key":"e_1_3_1_38_2","doi-asserted-by":"crossref","unstructured":"Shreya Shankar Stephen Macke Andrew Chasins Andrew Head Aditya Parameswaran. 2022. Bolt-on Compact and Rapid Program Slicing for Notebooks. Proceedings of the VLDB Endowment 15 13 (2022) 4038\u20134047.","DOI":"10.14778\/3565838.3565855"},{"key":"e_1_3_1_39_2","unstructured":"Richard Stallman Roland Pesch Stan Shebs et al. 2011. Debugging with GDB. Free Software Foundation Boston MA."},{"key":"e_1_3_1_40_2","unstructured":"Jupyter Team. 2015. Jupyter Notebooks. Jupyter Team. Retrieved March 8 2024 from https:\/\/docs.jupyter.org\/en\/latest\/"},{"key":"e_1_3_1_41_2","unstructured":"Mark D. Weiser. 1981. Program Slicing. In Proceedings of the 5th International Conference on Software Engineering San Diego California USA March 9-12 1981 Seymour Jeffrey and Leon G. Stucki (Eds.). IEEE Computer Society 439\u2013449. http:\/\/dl.acm.org\/citation.cfm?id=802557"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0269888900008122"},{"key":"e_1_3_1_43_2","unstructured":"Xerox Systems Development Department. 1979. Mesa Debugger Documentation. https:\/\/www.applefritter.com\/content\/mesa-debugger-documentation"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","unstructured":"Aidan Z. H. Yang Claire Le Goues Ruben Martins Vincent J. Hellendoorn. 2024. Large Language Models for Test-Free Fault Localization. In Proceedings of the 46th IEEE\/ACM International Conference on Software Engineering ICSE 2024 Lisbon Portugal April 14-20 2024. ACM 17:1\u201317:12. doi:10.1145\/3597503.3623342","DOI":"10.1145\/3597503.3623342"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","unstructured":"John Yang Carlos E. Jimenez Alexander Wettig Kilian Lieret Shunyu Yao Karthik Narasimhan Ofir Press. 2024. SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. CoRR abs\/2405.15793 (2024). doi:10.48550\/ARXIV.2405.15793 arXiv:2405.15793","DOI":"10.48550\/ARXIV.2405.15793"},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","unstructured":"Andreas Zeller. 1999. Yesterday My Program Worked. Today It Does Not. Why?. In Software Engineering - ESEC\/FSE\u201999 7th European Software Engineering Conference Held Jointly with the 7th ACM SIGSOFT Symposium on the Foundations of Software Engineering Toulouse France September 1999 Proceedings (Lecture Notes in Computer Science Vol. 1687) Oscar Nierstrasz and Michel Lemoine (Eds.). Springer Berlin Heidelberg 253\u2013267. doi:10.1007\/3-540-48166-4_16","DOI":"10.1007\/3-540-48166-4_16"},{"key":"e_1_3_1_47_2","doi-asserted-by":"crossref","unstructured":"Andreas Zeller. 2009. Why Programs Fail: A Guide to Systematic Debugging. Morgan Kaufmann.","DOI":"10.1016\/B978-0-12-374515-6.00006-X"},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","unstructured":"Yuntong Zhang Haifeng Ruan Zhiyu Fan Abhik Roychoudhury. 2024. AutoCodeRover: Autonomous Program Improvement. In Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis (Vienna Austria) (ISSTA 2024). Association for Computing Machinery New York NY USA 1592\u20131604. doi:10.1145\/3650212.3680384","DOI":"10.1145\/3650212.3680384"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3729355","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3729355","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T11:02:54Z","timestamp":1787482974000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3729355"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,19]]},"references-count":48,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2025,6,19]]}},"alternative-id":["10.1145\/3729355"],"URL":"https:\/\/doi.org\/10.1145\/3729355","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,19]]}}}