Toggle current fold
Toggles folding the current line on & off.
Toggle all folds
Toggles every fold in the file.
Show or hide the CMDebug toolbar.
Show or hide the status bar.
The Toolbox window lists all of the internal commands, variables, and variable functions organized by category. Selecting a command or variable and then pressing F1 will display the help for that command/variable.
The "Command Expansion" window will pop up above the tab window when you start debugging. The Command Expansion window shows the original command line, the command line after alias expansion, and the command line after variable expansion. This is a docking window, so it can be moved & attached at other locations. If you don't want to see the Command Expansion window, you can turn it off from the IDE "View / Command Expansion" menu option.
The Watch window allows you to monitor variables.
When using TCC syntax, the Watch tab defaults to showing two variables:
%_? - The last TCC result value
%? - The last ERRORLEVEL value
Open will load the batch file and any associated breakpoint file (filename.ext.bp) and the watched variables file (filename.ext.watch).
Save will save the batch file and any associated breakpoint file (filename.ext.bp) and the watched variables file (filename.ext.watch).
If you right click in the first column of the Watch window, the debugger will pop up an environment variable listbox. If you select an entry, it will be added to the watch list.
The watch window now also supports internal variables, variable functions, and user-defined functions.
The Modified tab window shows all variables that are created or modified while executing the batch file. (This is like the "Auto" window in Visual Studio.)
The Breakpoints tab window shows the breakpoints for the active tab window. (Line number, Count, and optional condition.)
Show the Windows environment CMDebug is using when it runs batch files. You can add, modify, or delete variables.
Display the batch file arguments (%0 - %n). You can modify the batch arguments while debugging the batch file. To specify batch arguments when the batch file starts, you can enter them in the Batch Arguments combobox on the toolbar.
(TCC-RT syntax only) Show the user-defined functions. You can add, modify, or delete aliases in the edit window. If you are using CMD Syntax, this window will be disabled.
(TCC-RT syntax only) Show the user-defined functions. You can add, modify, or delete functions in the edit window. If you are using CMD Syntax, this window will be disabled.
Start a new command prompt window.