<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Watching_object_variables</id>
	<title>Watching object variables - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Watching_object_variables"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Watching_object_variables&amp;action=history"/>
	<updated>2026-05-09T02:01:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Watching_object_variables&amp;diff=119444&amp;oldid=prev</id>
		<title>Ekern at 18:47, 10 January 2023</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Watching_object_variables&amp;diff=119444&amp;oldid=prev"/>
		<updated>2023-01-10T18:47:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:47, 10 January 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;But for shared objects, class variables within a class definition, and Stringlist and XmlDoc objects, you need to  use variations of these techniques. Otherwise, for Stringlist and XmlDoc objects, the Debugger only informs you whether or not the object has content. And for shared objects, the Debugger may fail to &amp;amp;quot;find&amp;amp;quot; the object. &amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;But for shared objects, class variables within a class definition, and Stringlist and XmlDoc objects, you need to  use variations of these techniques. Otherwise, for Stringlist and XmlDoc objects, the Debugger only informs you whether or not the object has content. And for shared objects, the Debugger may fail to &amp;amp;quot;find&amp;amp;quot; the object. &amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span class=&quot;f_Para&quot;&amp;gt;Handling shared objects and class variables are described below. Stringlist objects are discussed in [[Watching $lists, Stringlists, and Arraylists|Watching $lists and Stringlists]], and XmlDoc objects are discussed in [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;display_soap_apps.html&lt;/del&gt;|Displaying Janus SOAP XML document objects]]. &amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span class=&quot;f_Para&quot;&amp;gt;Handling shared objects and class variables are described below. Stringlist objects are discussed in [[Watching $lists, Stringlists, and Arraylists|Watching $lists and Stringlists]], and XmlDoc objects are discussed in [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Displaying Janus SOAP XML document objects&lt;/ins&gt;|Displaying Janus SOAP XML document objects]]. &amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Watching shared objects ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Watching shared objects ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ekern</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=Watching_object_variables&amp;diff=119074&amp;oldid=prev</id>
		<title>Ekern: Created page with &quot;__TOC__ &lt;span class=&quot;f_Para&quot;&gt;You add a SOUL object variable to the &lt;/span&gt;&lt;var&gt;Watch Window&lt;/var&gt;&lt;span class=&quot;f_Para&quot;&gt; using either of the ways described Add item to watch w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Watching_object_variables&amp;diff=119074&amp;oldid=prev"/>
		<updated>2022-10-31T15:14:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__TOC__ &amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;You add a SOUL object variable to the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Watch Window&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; using either of the ways described Add item to watch w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;You add a SOUL object variable to the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Watch Window&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; using either of the ways described [[Add item to watch window|earlier]]: right click the line of code in which it&amp;#039;s contained and select the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Add Watch&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; option, or type its name in the text box above &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_ListContinue&amp;quot;&amp;gt;the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Watch Window &amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;and click the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Watch&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; button. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;But for shared objects, class variables within a class definition, and Stringlist and XmlDoc objects, you need to  use variations of these techniques. Otherwise, for Stringlist and XmlDoc objects, the Debugger only informs you whether or not the object has content. And for shared objects, the Debugger may fail to &amp;amp;quot;find&amp;amp;quot; the object. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;Handling shared objects and class variables are described below. Stringlist objects are discussed in [[Watching $lists, Stringlists, and Arraylists|Watching $lists and Stringlists]], and XmlDoc objects are discussed in [[display_soap_apps.html|Displaying Janus SOAP XML document objects]]. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Watching shared objects ===&lt;br /&gt;
&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;The simplest way to add a shared object variable to the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Watch Window&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; is to right click its source code line and add it. When you do so, the class name qualifier is automatically added as a prefix for the variable. For example, if the line you select on the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Source Code&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; page is:  &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;syntax&amp;quot;&amp;gt;Print %(tester):sharedPubNum &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;The variable that appears in the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Watch Window&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; is &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_CodeExample&amp;quot;&amp;gt;%(tester):sharedPubNum,&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; and you can successfully watch the shared variable&amp;#039;s value as you step through the program.  &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;However, if you choose to add the shared variable by first typing its name in the &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_ListBul1&amp;quot;&amp;gt;[[Entity name input box|Entity name input box]]&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;, you must be sure to prefix the variable with its class name, explicitly specifying: &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;syntax&amp;quot;&amp;gt;%(tester):sharedPubNum &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;f_ListNum1&amp;quot;&amp;gt;If you specify only the variable name&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; (&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;term&amp;quot;&amp;gt;%sharedPubNum&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;), the variable is added to the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Watch Window&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; as is, with no &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;term&amp;quot;&amp;gt;%(tester)&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; class name prefix. The Debugger does not recognize this as the shared variable in your program, and a &amp;amp;quot;not found&amp;amp;quot; message eventually displays in the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Watch Window&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;See Also&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
: [[Displaying temporarily the value of a program data item|Displaying temporarily the value of a program data item]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Debugger Home]]&lt;/div&gt;</summary>
		<author><name>Ekern</name></author>
	</entry>
</feed>