Skip to content
Review Open access

Evaluating the Effect of Generative AI-Assisted Debugging on Students’ Critical Thinking

Jul 2026 · Technology, Knowledge and Learning · 0 citations · 86 references

TL;DR

The findings suggest that GenAI tools like LLAMA may be associated with different patterns of critical thinking during debugging, yet their association with individual skills seems limited in the absence of well-structured instructional support.

Abstract

The growing presence of generative AI (GenAI) has raised questions about its role in supporting or hindering critical thinking in programming education. This study examined the influence of GenAI tools, particularly LLAMA, on students’ critical thinking skills during structured debugging tasks in a Java-based CS1 course. In a quasi-experimental design, 132 students were divided into an experimental group that received GenAI-assisted debugging instruction and a control group that received traditional instructor-led instruction. Both groups completed structured debugging tasks, a closed-book post-evaluation, and a program writing task, while students in the experimental group completed a survey. Students who used LLAMA for debugging tended to link lower- and higher-level thinking skills through stronger conditional associations between understanding code, applying solutions, and extending them into creative solutions, while students who used manual debugging showed stronger connections between analyzing problems and evaluating solutions. Permutation tests confirmed significant differences in skill associations between groups. However, these network-level differences did not always translate into higher performance scores on individual skills, as the control group achieved higher scores in core skills with lower-level cognitive demands. Creativity was also one of the differences observed between the groups. In the LLAMA group, Creativity was connected to Application, with a weaker connection to Analysis, whereas in the control group, it was disconnected from other skills. However, in some cases, students’ solutions in the control group showed structural changes that went beyond what was taught. The findings suggest that GenAI tools like LLAMA may be associated with different patterns of critical thinking during debugging. Yet, their association with individual skills seems limited in the absence of well-structured instructional support. To properly harness GenAI in debugging education, educators must adopt pedagogical approaches that guide students toward reflection, independent reasoning, and balanced cognitive engagement.

Read PDF

Similar papers

#generative ai Review Open access Aug 2026

Examining Student Dependence on Generative AI tools in Programming Education

Programming students are no longer only learning to write code; they are also learning in environments where AI tools can explain, debug, and generate code alongside them. This shift creates a tension for programming education: the same tools that can make learning more accessible may also encourage dependence when stu...

Kazeem Babatunde Abioye · 0 citations
#generative ai Open access Sep 2026

Generative AI as Instructional Scaffolding: Effects on Critical Thinking and Classroom Engagement in Secondary Education

It is demonstrated that generative artificial intelligence effectively supports critical thinking and classroom engagement when used as guided instructional scaffolding rather than as a provider of final answers.

Herman Herman, Muh. Nasir, A. Putra et al. · 0 citations
Book Open access Aug 2026

A Validated Scale Measuring Student Self-Efficacy for Programming with Generative AI

This paper presents the development and initial validation of an instrument to measure self-efficacy while using GenAI to learn programming, and finds strong support for the validity of the existing Steinhorst instrument in a new context, specifically an introductory programming course that fully integrates GenAI.

J. Prather, Lauren E. Margulieux, Yekaterina Kharitonova et al. · 0 citations
Conference Aug 2026

From Code Generation to Logic Internalization: A Human–AI Collaborative Mechanism for Generative AI- Enabled Programming Instruction

To investigate the collaborative mechanisms of generative artificial intelligence in programming instruction, this study conducted a 12-week quasi-experiment with 80 higher vocational students. The experimental group used AI assistance, while the control group relied solely on conventional search engines. The results r...

Xue Wang, Zhi-Yuan Hou, Si-Miao Lang et al. · 0 citations
Open access 2026

The Impact of Game-Based Learning and AI Support on Students’ Understanding of Fractions

Fractions are a foundational mathematical concept that many elementary students struggle to understand (Piaget, 1952). Traditional instruction often relies on memorization and repetition, which reduces engagement and limits conceptual understanding. The platform introduces an interactive learning platform that utilizes...

Kriti Regandla, Anika Dubey, D. Rai et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.