Skip to content

Repository files navigation

interactive-debugger

A Python-based educational assistant that helps beginners understand and fix their coding errors.

Overview

The Interactive Debugging Tutor is a Python program that analyzes code written by users, detects common syntax and logic errors, and provides clear, friendly explanations with suggestions for how to fix them.

Installation

Requirements

  • Python 3.11+
  • Libraries:
pip install colorama
pip install flask

Clone the Project

git clone https://github.com/Aphan9561/interactive-debugger.git

Run in terminal

python tutor.py

To run web app

python -m interface.app

Usage

So far, you can type your code into the terminal after running the file.

Example:

>>> x = [1,2,3]
>>> print(x[3])

Output:

Traceback (most recent call last):
  File "/Users/annaphan/UofC/Autumn2025/IntermedPython/interactive-debugger/analyzer/exec_safely.py", line 10, in execute_user_code
    exec(code, env)
  File "<string>", line 1, in <module>
IndexError: list index out of range
------------------------------------------------------------
What would you like help with?
1. Explanation and Why
2. Hint
3. Example Fix
4. Skip
> 

Video Presentation

https://www.youtube.com/watch?v=__exWWAfiqM

About

A Python-based educational assistant that helps beginners understand and fix their coding errors.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages