浏览代码

NVIZ debug tip added (merge devbr6, https://trac.osgeo.org/grass/changeset/31567)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31568 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 17 年之前
父节点
当前提交
c7246792c4
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      doc/debugging.txt

+ 6 - 0
doc/debugging.txt

@@ -50,6 +50,12 @@ NVIZ debug tip:
    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
 
 ----------------------------------------------------