[GRASS-SVN] r31568 - grass/trunk/doc

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 29 10:47:33 EDT 2008


Author: martinl
Date: 2008-05-29 10:47:33 -0400 (Thu, 29 May 2008)
New Revision: 31568

Modified:
   grass/trunk/doc/debugging.txt
Log:
NVIZ debug tip added (merge devbr6, r31567)


Modified: grass/trunk/doc/debugging.txt
===================================================================
--- grass/trunk/doc/debugging.txt	2008-05-29 14:46:20 UTC (rev 31567)
+++ grass/trunk/doc/debugging.txt	2008-05-29 14:47:33 UTC (rev 31568)
@@ -50,7 +50,13 @@
    at the start of nviz2.2_script, change the DEBUG setting to:
    set DEBUG 1
 
+To debug NVIZ using gdb:
 
+$ gdb $GISBASE/etc/nviz2.2/nviz
+> attach <pid>
+> break Create_OS_Ctx
+> cont
+
 ----------------------------------------------------
 
 To make gcc less tolerant in accepting errors and code flaws, compile



More information about the grass-commit mailing list