From bd3fddb28cd70f943fe91df3be4b2b2e843550b8 Mon Sep 17 00:00:00 2001
From: William S Fulton
Date: Tue, 20 Oct 2009 22:18:43 +0000
Subject: [PATCH] Add reference to the Doc/Devel documentation. Add debugging
options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
---
Doc/Manual/Contents.html | 6 ++----
Doc/Manual/Extending.html | 32 ++++++++++++++++++++++++++------
2 files changed, 28 insertions(+), 10 deletions(-)
diff --git a/Doc/Manual/Contents.html b/Doc/Manual/Contents.html
index d6feb934f..108106035 100644
--- a/Doc/Manual/Contents.html
+++ b/Doc/Manual/Contents.html
@@ -1599,11 +1599,9 @@
Prerequisites for adding a new language module to the SWIG distribution
Coding style guidelines
-Typemaps
-
+Debugging Options
Guide to parse tree nodes
+Further Development Information
diff --git a/Doc/Manual/Extending.html b/Doc/Manual/Extending.html
index c56647450..111644e7f 100644
--- a/Doc/Manual/Extending.html
+++ b/Doc/Manual/Extending.html
@@ -66,11 +66,9 @@
Prerequisites for adding a new language module to the SWIG distribution
Coding style guidelines
-Typemaps
-
+Debugging Options
Guide to parse tree nodes
+Further Development Information
@@ -3590,11 +3588,26 @@ The generated C/C++ code should also follow this style as close as possible. How
should be avoided as unlike the SWIG developers, users will never have consistent tab settings.
-35.11 Typemaps
+35.11 Debugging Options
-35.11.1 Proxy classes
+
+There are various command line options which can aid debugging a SWIG interface as well as debugging the development of a language module. These are as follows:
+
+
+-debug-classes - Display information about the classes found in the interface
+-debug-module <n> - Display module parse tree at stages 1-4, <n> is a csv list of stages
+-debug-tags - Display information about the tags found in the interface
+-debug-template - Display information for debugging templates
+-debug-top <n> - Display entire parse tree at stages 1-4, <n> is a csv list of stages
+-debug-typedef - Display information about the types and typedefs in the interface
+-debug-typemap - Display information for debugging typemaps
+
+
+
+The complete list of command line options for SWIG are available by running swig -help.
+
35.12 Guide to parse tree nodes
@@ -4004,6 +4017,13 @@ extern "X" { ... } declaration.
+35.13 Further Development Information
+
+
+
+There is further documentation available on the internals of SWIG, API documentation and debugging information.
+This is shipped with SWIG in the Doc/Devel directory.
+