Hear Your Code Fail, Voice-Assisted Debugging for Python

  • 2025-07-22 13:49:40
  • Sayed Mahbub Hasan Amiri, Md. Mainul Islam, Mohammad Shakhawat Hossen, Sayed Majhab Hasan Amiri, Mohammad Shawkat Ali Mamun, Sk. Humaun Kabir, Naznin Akter
  • 0

Abstract

This research introduces an innovative voice-assisted debugging plugin forPython that transforms silent runtime errors into actionable audiblediagnostics. By implementing a global exception hook architecture with pyttsx3text-to-speech conversion and Tkinter-based GUI visualization, the solutiondelivers multimodal error feedback through parallel auditory and visualchannels. Empirical evaluation demonstrates 37% reduced cognitive load (p<0.01,n=50) compared to traditional stack-trace debugging, while enabling 78% fastererror identification through vocalized exception classification andcontextualization. The system achieves sub-1.2 second voice latency with under18% CPU overhead during exception handling, vocalizing error types andconsequences while displaying interactive tracebacks with documentation deeplinks. Criteria validate compatibility across Python 3.7+ environments onWindows, macOS, and Linux platforms. Needing only two lines of integrationcode, the plugin significantly boosts availability for aesthetically impaireddesigners and supports multitasking workflows through hands-free error medicaldiagnosis. Educational applications show particular promise, with pilot studiesindicating 45% faster debugging skill acquisition among novice programmers.Future development will incorporate GPT-based repair suggestions and real-timemultilingual translation to further advance auditory debugging paradigms. Thesolution represents a fundamental shift toward human-centric error diagnostics,bridging critical gaps in programming accessibility while establishing newstandards for cognitive efficiency in software development workflows.

 

Quick Read (beta)

loading the full paper ...