AI助手实时辅助编程调试,提升教学与开发效率。
Enhancing Debugging Skills with AI-Powered Assistance: A Real-Time Tool for Debugging Support
- 基于RAG与程序切片技术,智能推荐断点和提示。
- 减少LLM调用次数,提升调试准确率。
- 适合编程教学、初学者及需要快速定位错误的开发者。
调试是编程教育与软件开发中的关键能力,但常被计算机科学课程忽视。为此,我们设计了一款集成于IDE的AI驱动调试助手,支持实时代码分析、断点建议与上下文提示。该系统结合RAG、大语言模型(LLMs)、程序切片与定制启发式规则,在减少大模型调用次数的同时提升准确性。通过三级评估——技术分析、用户体验研究及课堂实验——验证了其在教学中的潜力。
原文摘要 · Abstract (English)
Debugging is a crucial skill in programming education and software development, yet it is often overlooked in CS curricula. To address this, we introduce an AI-powered debugging assistant integrated into an IDE. It offers real-time support by analyzing code, suggesting breakpoints, and providing contextual hints. Using RAG with LLMs, program slicing, and custom heuristics, it enhances efficiency by minimizing LLM calls and improving accuracy. A three-level evaluation - technical analysis, UX study, and classroom tests - highlights its potential for teaching debugging.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。