English

Hear Your Code Fail, Voice-Assisted Debugging for Python

Programming Languages 2025-07-23 v2 Computation and Language

Abstract

This research introduces an innovative voice-assisted debugging plugin for Python that transforms silent runtime errors into actionable audible diagnostics. By implementing a global exception hook architecture with pyttsx3 text-to-speech conversion and Tkinter-based GUI visualization, the solution delivers multimodal error feedback through parallel auditory and visual channels. Empirical evaluation demonstrates 37% reduced cognitive load (p<0.01, n=50) compared to traditional stack-trace debugging, while enabling 78% faster error identification through vocalized exception classification and contextualization. The system achieves sub-1.2 second voice latency with under 18% CPU overhead during exception handling, vocalizing error types and consequences while displaying interactive tracebacks with documentation deep links. Criteria validate compatibility across Python 3.7+ environments on Windows, macOS, and Linux platforms. Needing only two lines of integration code, the plugin significantly boosts availability for aesthetically impaired designers and supports multitasking workflows through hands-free error medical diagnosis. Educational applications show particular promise, with pilot studies indicating 45% faster debugging skill acquisition among novice programmers. Future development will incorporate GPT-based repair suggestions and real-time multilingual translation to further advance auditory debugging paradigms. The solution represents a fundamental shift toward human-centric error diagnostics, bridging critical gaps in programming accessibility while establishing new standards for cognitive efficiency in software development workflows.

Keywords

Cite

@article{arxiv.2507.15007,
  title  = {Hear Your Code Fail, Voice-Assisted Debugging for Python},
  author = {Sayed Mahbub Hasan Amiri and Md. Mainul Islam and Mohammad Shakhawat Hossen and Sayed Majhab Hasan Amiri and Mohammad Shawkat Ali Mamun and Sk. Humaun Kabir and Naznin Akter},
  journal= {arXiv preprint arXiv:2507.15007},
  year   = {2025}
}

Comments

35 pages, 20 figures