Under Unix the gnu debugger is called gdb or dbx or other; ther is a
advance version called ddd. The basic operation of these debugger is described here.
Compile the program with option "-g". then launch gdb
with the program exec file as parameter. Exemple
g++ -g readT.cpp
gbd a.out
Try the commandt "help". See your source file by typing "list" or "l".
Put a break point at instruction
49 (Triangulation g("micro.msh");).Then do a step by step execution by typing "s".
Try to see the value of a variable by type "p " and its name.
This gives the following sequence
g++ -g lirmicro.cpp
gbd a.out
l
b 49
run
s
s
s
p nv
...
quit