NOTE: Please refer this pdf to note down which points needed to be change marked as highlighted VIVA-Tech IJRI V1, E9 Article - 4 ">

Semantic Debugging: Debugging Software Based on Program Meaning Rather Than Syntax



EOI: 10.11242/viva-tech.01.09.04

Download Full Text here



Citation

Vaishnavi Pisal, Anojkumar Yadav, Rahul Abhyankar, " Semantic Debugging: Debugging Software Based on Program Meaning Rather Than Syntax", VIVA-IJRI Volume 1, Issue 9, Article 4, pp. 1-6, 2026. Published by Computer Engineering Department, VIVA Institute of Technology, Virar, India.

Abstract

The exponential growth in software complexity, driven by the advent of distributed microservices, cyber-physical systems, and autonomous artificial intelligence, has exposed the fundamental limitations of traditional debugging paradigms. Conventional techniques, primarily predicated on syntax correction and structural analysis, essentially verify whether a program is grammatically correct and whether it executes without crashing. However, they fail to address the increasingly prevalent class of "semantic dissonances"-instances where a program is syntactically valid and executable but fundamentally violates the programmer’s intent or the domain-specific laws governing the system. This research report presents an exhaustive study of Semantic Debugging, an emerging paradigm that shifts the locus of fault localization from code structure to program meaning. By synthesizing diverse fields including Abstract Interpretation, Knowledge Graph generation, Neuro-Symbolic AI, and Formal Methods, semantic debugging aims to formalize and automate the detection of discrepancies between implementation and intent. This paper defines the theoretical underpinnings of semantic debugging, differentiates it from static and dynamic analysis, and proposes a unified Semantic Debugging Architecture (SDA). Furthermore, it explores advanced methodologies such as the ROAD framework for agentic self-correction, BLADE for representation learning in compiler testing, and semantic communication error correction in 6G networks. Through a rigorous analysis of safety-critical applications in automotive systems (ISO 26262) and autonomous infrastructure, we demonstrate that semantic debugging is not merely an enhancement of existing tools but a necessary evolution for the reliability of next-generation software.

Keywords

- Abstract Interpretation, Agentic Workflows, Fault Localization, ISO 26262, Knowledge Graphs, Neuro-Symbolic AI, Self-Healing Systems, Semantic Debugging, 6G Semantic Communication.

References

  1. S. Kang, B. Chen, and S. Yoo, “Explainable Automated Debugging Using Semantic Reasoning and Large Language Models,” Empirical Software Engineering, vol. 30, no. 1, pp. 1–29, 2025.
  2. M. Eberlein, M. Smytzek, D. Steinhöfel, L. Grunske, and A. Zeller, “Semantic Debugging,” in Proceedings of the ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE), 2023, pp. 1–12.
  3. E. Kamburjan, R. Schlatte, E. B. Johnsen, and M. Giese, “Programming and Debugging with Semantically Lifted States,” in Proceedings of the Extended Semantic Web Conference (ESWC), 2021, pp. 1–16.
  4. E. Soremekun, M. Papadakis, and Y. Le Traon, “Fault Localization via Program Slicing: An Empirical Study,” Empirical Software Engineering, vol. 26, no. 4, pp. 1–35, 2021.
  5. A. Mohd Zin, S. A. Aljunid, and Z. Shukur, “A Knowledge-Based Automated Debugging System,” Artificial Intelligence Review, vol. 16, no. 3, pp. 215–234, 2001.
  6. A. de la Encina, “A Semantic Framework to Debug Parallel Lazy Functional Languages,” Mathematics, vol. 8, no. 6, pp. 1–22, 2020.
  7. D. Kumar, R. Nasre, and S. K. Prasad, “BOLD: An Ontology-Based Log Debugger for C Programs,” arXiv preprint arXiv:2004.11044, 2020.
  8. E. Kim, D. Gopinath, C. S. Pasareanu, and S. A. Seshia, “A Programmatic and Semantic Approach to Explaining and Debugging Neural Network Models,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2020, pp. 9187–9196.
  9. Y. Qi, X. Mao, Y. Lei, and C. Wang, “Using Automated Program Repair for Evaluating the Effectiveness of Fault Localization Techniques,” in Proceedings of the ACM International Symposium on Software Testing and Analysis (ISSTA), 2013, pp. 191–201.
  10. B. Liblit, M. Naik, A. X. Zheng, A. Aiken, and M. I. Jordan, “Scalable Statistical Bug Isolation,” ACM SIGPLAN Notices, vol. 40, no. 6, pp. 15–26, 2005.
  11. J. A. Jones and M. J. Harrold, “Empirical Evaluation of the Tarantula Automatic Fault-Localization Technique,” in Proceedings of the 20th IEEE/ACM International Conference on Automated Software Engineering (ASE), 2005, pp. 273–282.
  12. M. Chen, E. Kiciman, E. Fratkin, A. Fox, and E. Brewer, “Pinpoint: Problem Determination in Large, Dynamic Internet Services,” in Proceedings of the IEEE/IFIP International Conference on Dependable Systems and Networks, 2002, pp. 595–604.
  13. A. Zeller, “Delta Debugging,” in Proceedings of the 7th European Software Engineering Conference, Springer, 1999, pp. 216–233.
  14. M. Ducassé and J. Noyé, “Logic Programming Environments: Dynamic Program Analysis and Debugging,” Journal of Logic Programming, vol. 19–20, pp. 351–384, 1994.
  15. R. H. Crawford, “Semantic Issues in the Design of Debugging Languages,” Software Engineering Technical Report, 1992.
  16. P. Cousot and R. Cousot, “Abstract Interpretation: A Unified Lattice Model for Static Analysis of Programs,” in Proceedings of the 4th ACM Symposium on Principles of Programming Languages (POPL), 1977, pp. 238–252.
  17. M. Brain and M. De Vos, “Debugging Logic Programs under the Answer Set Semantics,” in Proceedings of the International Workshop on Logic Programming, CEUR Workshop Proceedings, pp. 141–152.
  18. T. D. B. Le, D. Lo, and M. Li, “Constrained Feature Selection for Localizing Faults,” in Proceedings of the IEEE International Conference on Software Maintenance and Evolution (ICSME), 2015, pp. 501–510.