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.


翻译:调试是编程教育和软件开发中的关键技能,但在计算机科学课程中常被忽视。为此,我们提出了一种集成于IDE的人工智能调试助手。该工具通过分析代码、建议断点并提供上下文提示,提供实时支持。它结合了基于检索增强生成(RAG)的大语言模型、程序切片和自定义启发式方法,通过减少大语言模型调用次数并提高准确性来提升调试效率。通过技术分析、用户体验研究和课堂测试三个层面的评估,该工具展现了其在调试教学中的潜力。

1
下载
关闭预览

相关内容

【新书】使用生成式人工智能进行软件测试
专知会员服务
44+阅读 · 2025年1月6日
【新书】《学习AI辅助的Python编程(第2版)》
专知会员服务
66+阅读 · 2024年10月22日
《综述:测试与评估中应用的人工智能工具》
专知会员服务
73+阅读 · 2024年1月22日
八个不容错过的 GitHub Copilot 功能!
CSDN
11+阅读 · 2022年9月22日
人工智能训练师的再定义
竹间智能Emotibot
10+阅读 · 2019年5月15日
无人驾驶仿真软件
智能交通技术
22+阅读 · 2019年5月9日
一个牛逼的 Python 调试工具
机器学习算法与Python学习
15+阅读 · 2019年4月30日
【强化学习】强化学习+深度学习=人工智能
产业智能官
55+阅读 · 2017年8月11日
国家自然科学基金
4+阅读 · 2017年12月31日
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
28+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
VIP会员
相关基金
国家自然科学基金
4+阅读 · 2017年12月31日
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
28+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
Top
微信扫码咨询专知VIP会员