[GRASS5] Debugging modules ...

Eric G . Miller egm2 at jps.net
Fri Oct 20 22:24:52 EDT 2000


I did the following and was able to run a module with DDD (uses gdb).

In grass/src/CMD/head/head set the following (don't use any
optimization)

COMPILE_FLAGS       = -g
LDFLAGS             = 


Then, for whatever module delete the OBJ* dir and rerun gmake5.  Then
run gdb (or DDD in this case) on the executable in
<path>/grass-5.0b/etc/bin/<main | contrib>/cmd/<module> .  The
executable in <path>/grass-5.0b/bin/ is not what you're interested in.

-- 
/bin/sh ~/.signature:
Command not found

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list