SaveWatch command: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{| | {| | ||
|width=" | |width="125px"| '''Action:''' | ||
|width=" | |width="775px"| | ||
<span class="f_Para">Saves to a local file the list of items currently displayed in the </span><var>Watch Window</var><span class="f_Para">, as described in [[Saving and restoring Watch Window contents|Saving and restoring Watch Window contents]]. </span> | <span class="f_Para">Saves to a local file the list of items currently displayed in the </span><var>Watch Window</var><span class="f_Para">, as described in [[Saving and restoring Watch Window contents|Saving and restoring Watch Window contents]]. </span> | ||
Latest revision as of 04:19, 9 February 2023
Action: |
Saves to a local file the list of items currently displayed in the Watch Window, as described in Saving and restoring Watch Window contents. The command's first optional argument is the name of the .watch file in which to store the Watch Window contents: saveWatch [watchfile [overwrite]] If you omit watchfile, a Windows file selection dialog box lets you create a .watch file when the command executes. Otherwise, if you specify a watchfile argument (the .watch extension may be omitted), the Watch Window contents are stored in the named file when the command executes. The Client saves the watch file in the folder that contains the JanusDebugger.exe file, by default. If a watch file with the same name already exists when saveWatch executes, the result depends on whether you also specified the overwrite parameter:
You may also specify the watch file name in these ways:
set &a = "foo" saveWatch &a overwrite
saveWatch "c:\temp\foo.watch" saveWatch "c:\temp\foo.watch" overwrite The loadWatch command restores the Watch Window contents from a watch file. |
Client menu: | Data Display > Save Watch |
Introduced: | Build 49 |