LoadWatch command: Difference between revisions
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Restores from a local </span><span class="f_Monospace">.watch</span><span class="f_Para"> file a lis...") |
No edit summary |
||
Line 19: | Line 19: | ||
*As a [[working_with_macro_variables.html|macro variable]]. For example: | *As a [[working_with_macro_variables.html|macro variable]]. For example: | ||
<p class="syntax"> | |||
:: <span class="f_CodeExList">set &a = "foo" </span><br /> | :: <span class="f_CodeExList">set &a = "foo" </span><br /> | ||
:: <span class="f_CodeExList">loadWatch &a </span> | :: <span class="f_CodeExList">loadWatch &a </span> | ||
</p> | |||
*As part of an absolute file system path, which </span><span class="f_EmphItal">must be enclosed in quotation marks.</span> | *As part of an absolute file system path, which </span><span class="f_EmphItal">must be enclosed in quotation marks.</span> | ||
<p class="syntax"> | |||
:: <span class="f_CodeExList">loadWatch "c:\temp\foo.watch" </span> | :: <span class="f_CodeExList">loadWatch "c:\temp\foo.watch" </span> | ||
</p> | |||
<span class="f_Para">The </span><span class="f_Monospace">[[savewatch_cmd.html|saveWatch]]</span><span class="f_Para"> command saves the </span><span class="f_GUIlabel">Watch Window</span><span class="f_Para"> contents to a watch file. </span> | <span class="f_Para">The </span><span class="f_Monospace">[[savewatch_cmd.html|saveWatch]]</span><span class="f_Para"> command saves the </span><span class="f_GUIlabel">Watch Window</span><span class="f_Para"> contents to a watch file. </span> |
Revision as of 15:14, 27 May 2022
Action: |
Restores from a local .watch file a list of items to display in the Watch Window, as described in Saving and restoring Watch Window contents. Syntax: loadWatch [watchfile] where the command's optional argument is the name of the .watch file to be loaded. If you omit watchfile, a Windows file selection dialog box lets you select a saved .watch file when the command executes. Otherwise, if you specify a watchfile argument (the .watch extension may be omitted), the named file is used. To locate the watch file you identify, the Client looks in the folder that contains the JanusDebugger.exe file, by default. If the watch file cannot be found, an error is issued. You may also specify the watch file name in these ways:
The saveWatch command saves the Watch Window contents to a watch file. |
Client menu: | Data Display > Load Watch |
Introduced: | Build 49 |