[GRASS-SVN] r31570 - grass/trunk/doc
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 29 16:58:47 EDT 2008
Author: martinl
Date: 2008-05-29 16:58:47 -0400 (Thu, 29 May 2008)
New Revision: 31570
Modified:
grass/trunk/doc/debugging.txt
Log:
nviz debugging described more precisely, based on http://lists.osgeo.org/pipermail/grass-dev/2008-May/038111.html (merge devbr6, r31569)
Modified: grass/trunk/doc/debugging.txt
===================================================================
--- grass/trunk/doc/debugging.txt 2008-05-29 20:54:42 UTC (rev 31569)
+++ grass/trunk/doc/debugging.txt 2008-05-29 20:58:47 UTC (rev 31570)
@@ -50,9 +50,15 @@
at the start of nviz2.2_script, change the DEBUG setting to:
set DEBUG 1
-To debug NVIZ using gdb:
+To debug NVIZ:
$ gdb $GISBASE/etc/nviz2.2/nviz
+> run -f $GISBASE/etc/nviz2.2/scripts/nviz2.2_script <any args>
+
+If you don't need to debug the startup, you can start NVIZ then
+"attach" to the process. E.g.
+
+$ gdb $GISBASE/etc/nviz2.2/nviz
> attach <pid>
> break Create_OS_Ctx
> cont
More information about the grass-commit
mailing list