Hi,

> You can't invoke gdb directly on "nviz" or $GISBASE/bin/nviz, as that
> is a shell script. But it's a trivial script which essentially just does:
>
> $GISBASE/etc/nviz2.2/nviz -f $GISBASE/etc/nviz2.2/scripts/nviz2.2_script 
> ${1+"$@"}
>
> You can debug the $GISBASE/etc/nviz2.2/nviz binary as with any other
> program, i.e.:
>
>        $ gdb $GISBASE/etc/nviz2.2/nviz
>        > run -f $GISBASE/etc/nviz2.2/scripts/nviz2.2_script <any args>
>
> Or, if you don't need to debug the startup, you can start NVIZ then
> "attach" to the process, as suggested by Markus.

thanks Glynn, I have updated doc/debugging.txt accordingly.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to