File: debug.html

package info (click to toggle)
xmhtml 1.1.7-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,104 kB
  • ctags: 8,347
  • sloc: ansic: 68,063; makefile: 496; sh: 161; perl: 36
file content (141 lines) | stat: -rw-r--r-- 4,826 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
	<TITLE>XmHTML Debug Resources</TITLE>
	<META HTTP-EQUIV="Keywords" CONTENT="XmHTML, HTML, Motif, Widget, eXode, XntHelp, Linux">
	<META HTTP-EQUIV="Reply-to" CONTENT="ripley@xs4all.nl">
	<META HTTP-EQUIV="Description" CONTENT="description of XmHTML debug resources">
	<META NAME="Author" CONTENT="Koen D'Hondt">
	<META NAME="Copyright" content="1995-1997 by Ripley Software Development">
	<META NAME="Source" content="$Source: /usr/local/rcs/Newt/XmHTML/RCS/XmHTML.html,v $">
	<META NAME="Revision" content="$Revision: 1.1 $">
<!--
	<base href="http://www.xs4all.nl/~ripley/eXode/">
-->
	<link rev="made" href="mailto:ripley@xs4all.nl">
	<link rel="home" href="http://www.xs4all.nl/~ripley">
	<link rel="next" href="extensions.html">
	<link rel="index" href="XmHTML.html">
	<link rel="TOC" href="XmHTML.html#toc">
	<link rel="copyright" href="copyrights.html">
</HEAD>

<BODY BGCOLOR="#FFFFFF" text="#000000">

<h1><a name="top">XmHTML Debug Resources</a></h1>
To somehow ease XmHTML development, a number of debug resources are
available.  These resources are only effective when XmHTML is compiled with
the <tt><b>-DDEBUG</b></tt> symbol defined, although the resource names
can be used at all times.
<p>

<p>
<a name="NewResources"><IMG SRC="../Images/wood/bar.gif" width=508 height=15></a><P>

<h2>Debug Resources</h2>
<p>
<table cols=4 border=1>
<tr>
	<td><b>Name</b>
	<td><b>Type</b>
	<td><b>Default</b>
	<td><b>Access</b>
<tr>
<tr>
	<td><a href="#XmNdisableWarnings">XmNdisableWarnings</a>
	<td>Boolean
	<td>False
	<td>CSG
<tr>
	<td><a href="#XmNdebugSaveClipmasks">XmNdebugSaveClipmasks</a>
	<td>Boolean
	<td>False
	<td>CSG
<tr>
	<td><a href="#XmNdebugFilePrefix">XmNdebugFilePrefix</a>
	<td>String
	<td>NULL
	<td>CSG
<tr>
	<td><a href="#XmNdebugLevels">XmNdebugLevels</a>
	<td>String
	<td>NULL
	<td>CSG
<tr>
	<td><a href="#XmNdebugNoAnimationLoopCount">XmNdebugNoAnimationLoopCount</a>
	<td>Boolean
	<td>False
	<td>CSG
<tr>
</table>

<p><IMG SRC="../Images/wood/bar.gif" width=508 height=15><p>

<dl>
<dt><a name="XmNdisableWarnings">XmNdisableWarnings</a>
<dd>When set to False, XmHTML will show every warning that occurs. If enabled,
	a lot of warnings will be generated mainly be the parser and formatting
	routines.
	This resource has no effect when _XmHTMLWarning has been called with a
	NULL argument for the widget.
<p>

<dt><a name="XmNdebugSaveClipmasks">XmNdebugSaveClipmasks</a>
<dd>When set to <b>True</b>, each time a clipmask is created it will be
	saved to a file called &lt;image-name&gt;.&lt;number&gt;.xbm.
<p>

<dt><a name="XmNdebugFilePrefix">XmNdebugFilePrefix</a>
<dd>This resource enables you to take a look at the internal representation
	of the parsed HTML file, it need not be the same as the input file.
	This is mainly intended for checking the parser's ability to add closing
	elements on &lt;p&gt;, &lt;li&gt;, &lt;dd&gt; and &lt;dt&gt;.
	An output file is generated for every file/text parsed.
	The name of the output file is the prefix appended with the number of
	files parsed so far, e.i., the first file will have the extension 0,
	the next will have 1 and so on.
<p>

<dt><a name="XmNdebugLevels">XmNdebugLevels</a>
<dd>This is probably the most powerfull debug resource: it enables debug output
	at a source-file level and allows one to examine closely what XmHTML is
	doing. This resource is specified as a comma separated list of numbers.
	Each number represents a separate source file. See the file DEBUGGING
	for the mapping used.<br>
	The amount of output generated by using this resource can be enormous,
	so you might whish to save it to a file and examine it later.
<p>

<dt><a name="XmNdebugNoAnimationLoopCount">XmNdebugNoAnimationLoopCount</a>
<dd>This resource allows one to take a closer look at animations that have
	a limited loopcount. A loopcount is the number of times an animation should
	be run. Setting this resource to <b>True</b>, XmHTML will ignore any
	loopcount setting found in an animation and thus each animation will
	run forever.
<p>

</dl>

<p><IMG SRC="../Images/wood/bar.gif" width=508 height=15><br>

<img ismap usemap=#back src="../Images/wood/back.gif" border=0>
<map name=back>
	<area href="XmHTML.html" shape=rect coords=0,0,83,33>
</map>

<img ismap usemap=#index_map src="../Images/wood/home.gif" border=0>
<map name=index_map>
	<area href="../index.html#toc" shape=rect coords=0,0,83,33>
</map>
<img ismap usemap=#email_map src="../Images/wood/email.gif" border=0>
<map name=email_map>
	<area href="mailto:ripley@xs4all.nl" shape=rect coords=0,0,83,33>
</map>

<br><IMG SRC="../Images/wood/bar.gif" width=508 height=15><br>
<i><font size="-1">
&copy;Copyright 1996-1997 by Ripley Software Development<br>
Last update: September 19, 1997 by Koen
</font></i>
</BODY>
</HTML>