[GRASS-SVN] r31569 - grass/branches/develbranch_6/doc
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 29 16:54:43 EDT 2008
Author: martinl
Date: 2008-05-29 16:54:42 -0400 (Thu, 29 May 2008)
New Revision: 31569
Modified:
grass/branches/develbranch_6/doc/debugging.txt
Log:
nviz debugging described more precisely, based on http://lists.osgeo.org/pipermail/grass-dev/2008-May/038111.html
Modified: grass/branches/develbranch_6/doc/debugging.txt
===================================================================
--- grass/branches/develbranch_6/doc/debugging.txt 2008-05-29 14:47:33 UTC (rev 31568)
+++ grass/branches/develbranch_6/doc/debugging.txt 2008-05-29 20:54:42 UTC (rev 31569)
@@ -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