Concurrent programming is a core component of Computer Science curricula, yet remains notoriously difficult for students to master due to its inherent complexity and the nondeterministic nature of concurrency bugs such as deadlocks and race conditions. In this work, we present ParaView, an educational tool designed to help students understand, debug, and correct concurrency issues in parallel programs written in C/C++. ParaView provides transparent execution recording and visualization to make parallel execution observable and comprehensible. We evaluated ParaView through a series of debugging and implementation tasks, with 17 students participating. Results showed a significant improvement in debugging and implementation successes compared to previous course iterations. A student survey confirmed that most participants found ParaView helpful. To further support learning outside the classroom, we explored using Large Language Models (LLMs) to analyze concurrency bugs and suggest fixes. While LLMs were highly effective in identifying bugs and explaining execution traces, the correctness of their bug fixes varied, especially for more complex synchronization patterns. Our findings suggest that recording-visualization tools like ParaView, complemented by artificial intelligence (AI), can improve teaching and learning of concurrent programming.
Empowering Autonomous Debugging Agents with Efficient Dynamic Analysis
Southern University of Science and Technology(南方科技大学);Research Institute of Trustworthy Autonomous Systems, Southern University of Science and Technology(南方科技大学可信自主系统研究院);Ant Group(蚂蚁集团)
Design and Deployment of a Course-Aware AI Tutor in an Introductory Programming Course
Johannes Kepler University Linz, Institute of Business Informatics – Software Engineering(林茨约翰内斯·开普勒大学商业信息学研究所-软件工程);University of Innsbruck, Department of Computer Science(因斯布鲁克大学生物科学系)