[GRASSLIST:3486] Re: ddd debugger and GRASS

Markus Neteler neteler at itc.it
Tue May 25 04:02:56 EDT 2004


On Tue, May 25, 2004 at 02:04:10AM +0100, Glynn Clements wrote:
> 
> Jaime Carrera wrote:
> 
> > Does anyone know how to use the DDD debugger with GRASS? I used it
> > while compiling a module I wrote, but when I tried to run it on the
> > compiled module I could only read GRASS's front end,
> 
> The "programs" in GRASS' bin directory are (almost) all hard links to
> etc/front.end. The real programs are in etc/bin/cmd and etc/bin/inter. 
> The etc/front.end program just invokes either the cmd or inter
> version, depending upon which versions exist and whether any arguments
> were supplied.
> 
> To debug GRASS modules, specify the path to the program in the
> etc/bin/cmd (or inter) directory rather than to the link in the bin
> directory.

You may have a look here (in 5.3 source code):

 documents/debugging.txt

Debugging with 'ddd' is really "easy".

 Markus




More information about the grass-user mailing list