<?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=Using_the_Macro_Autorun_feature</id>
	<title>Using the Macro Autorun feature - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Using_the_Macro_Autorun_feature"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Using_the_Macro_Autorun_feature&amp;action=history"/>
	<updated>2026-05-14T16:39:24Z</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=Using_the_Macro_Autorun_feature&amp;diff=119355&amp;oldid=prev</id>
		<title>Ekern: Created page with &quot;__TOC__ &lt;span class=&quot;f_Para&quot;&gt;The Client lets you automatically run a particular macro whenever you debug a particular procedure. Such a macro might set watches and breakpoints...&quot;</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Using_the_Macro_Autorun_feature&amp;diff=119355&amp;oldid=prev"/>
		<updated>2022-12-10T01:19:47Z</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;The Client lets you automatically run a particular macro whenever you debug a particular procedure. Such a macro might set watches and breakpoints...&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;The Client lets you automatically run a particular macro whenever you debug a particular procedure. Such a macro might set watches and breakpoints tailored to aid the debugging of that procedure. This Macro Autorun feature requires simply that the macro have the same name as the procedure, and it works only for procedures that are included from command level (level 0), that is, &amp;lt;/span&amp;gt;&amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039;&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt; from within a procedure (level 1).&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;f_Para&amp;quot;&amp;gt;By default, the feature is initially not enabled.  To use the feature: &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;span class=&amp;quot;f_ListNum1&amp;quot;&amp;gt;For a procedure that you debug somewhat frequently, [[Creating and running a macro|define]] a macro that sets up the debugging environment you want for that procedure. &amp;lt;/span&amp;gt;&lt;br /&gt;
# &amp;lt;span class=&amp;quot;f_ListNum1&amp;quot;&amp;gt;Give the macro the same name as the procedure. Character case is not important.&amp;lt;/span&amp;gt;&lt;br /&gt;
# &amp;lt;span class=&amp;quot;f_ListNum1&amp;quot;&amp;gt;Open &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Preferences.&amp;lt;/var&amp;gt;&lt;br /&gt;
# &amp;lt;span class=&amp;quot;f_ListNum1&amp;quot;&amp;gt;In the &amp;lt;var&amp;gt;Execution Options&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_ListNum1&amp;quot;&amp;gt; section of the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Preferences&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_ListNum1&amp;quot;&amp;gt; dialog, select the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Macro Autorun&amp;lt;/var&amp;gt; checkbox, which is clear by default. &amp;lt;/span&amp;gt;&lt;br /&gt;
# &amp;lt;span class=&amp;quot;f_ListNum1&amp;quot;&amp;gt;Include the procedure, for example via the URL of your Janus Web application. &amp;lt;br /&amp;gt;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;lt;span class=&amp;quot;f_ListContinue&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_ListBul1&amp;quot;&amp;gt;The Client &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_Monospace&amp;quot;&amp;gt;[[setPreference command|setPreference]]&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_ListBul1&amp;quot;&amp;gt; command has an option that lets you toggle &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_ListNum2&amp;quot;&amp;gt;the &amp;lt;/span&amp;gt;&amp;lt;var&amp;gt;Macro Autorun&amp;lt;/var&amp;gt;&amp;lt;span class=&amp;quot;f_ListNote&amp;quot;&amp;gt; checkbox. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
:: The Debugger searches in the Debugger installation folder or any [[Changing the location of Client work files|alternative folders]] you may have specified for a &amp;lt;span class=&amp;quot;f_Monospace&amp;quot;&amp;gt;.macro&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;f_ListContinue&amp;quot;&amp;gt; file that has the same name as the procedure. If such a file is found, it is run.  If a same named macro is not found, no action is taken. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Debugger Home]]&lt;/div&gt;</summary>
		<author><name>Ekern</name></author>
	</entry>
</feed>