UDC 004.416

ALMA versus DDD

Daniela da Cruz1, Pedro Rangel Henriques1 and Maria João Varanda Pereira1

  1. University of Minho -Department of Computer Science
    Campus de Gualtar, 4715-057, Braga, Portugal
    {danieladacruz,prh}@di.uminho.pt
  2. Polytechnic Institute of Bragança
    Campus de Sta. Apolónia, Apartado 134 -5301-857, Bragança, Portugal
    mjoao@ipb.pt

Abstract

To be a debugger is a good thing! Since the very beginning of the programming activity, debuggers are the most important and widely used tools after editors and compilers; we completely recognize their importance for software development and testing. Debuggers work at machine level, after the compilation of the source program; they deal with assembly, or binary-code, and are mainly data structure inspectors. Alma is a program animator based on its abstract representation. The main idea is to show the algorithm been implemented by the program, independent of the language used to implement it. To say that ALMA is a debugger, with no value added, is not true! ALMA is a source code inspector but it deals with programming concepts instead of machine code. This makes possible to understand the source program at a conceptual level, and not only to fix run time errors. In this paper we compare our visualizer/animator system, ALMA, with one of the most well-known and used debuggers, the graphical version of gdb, the DDD program. The aim of the paper is two fold: the immediate objective is to prove that ALMA provides new features that are not usually ofered by debuggers; the main contribution is to recall the concepts of debugger and animator, and clarify the role of both tools in the field of program understanding, or program comprehension.

Key words

Program Comprehension, Program Animation, Debugger, Alma, DDD

Publication information

Volume 5, Issue 2 (December 2008)
Compilers, Related Technologies and Applications
Year of Publication: 2008
ISSN: 1820-0214 (Print) 2406-1018 (Online)
Publisher: ComSIS Consortium

Full text

DownloadAvailable in PDF
Portable Document Format

How to cite

Cruz, D. d., Henriques, P. R., Pereira, M. J. V.: ALMA versus DDD. Computer Science and Information Systems, Vol. 5, No. 2, 119-136. (2008)