|
UDC 004.416
Daniela da Cruz1, Pedro Rangel Henriques1
and Maria João
Varanda Pereira2
1University of Minho -Department of
Computer Science, Campus de Gualtar, 4715-057,
Braga, Portugal
{danieladacruz,prh}@di.uminho.pt
2Polytechnic Institute of Bragan¸ca
Campus de Sta. Apolónia,
Apartado 134 -5301-857, Bragan¸ca, 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.
|