


If there are multiple debuggers installed on the computer, a dialog box is displayed that prompts you to choose the preferred debugger from a list.įor the purpose of this example, choose Microsoft Script Debuggerĥ. When the Stop statement is executed, the debugger should be invoked. Place a Button component on a visualization window and link it to the above script.Ĥ. In the Reliance Design development environment, create a new project and a new script with the following program code:Ģ.
MICROSOFT SCRIPT DEBUGGER FOR VBSCRIPT HOW TO
The following instructions show how to debug a script on a practical example.ġ. If the Stop statement is executed in a script.Īfterward, you can immediately debug the script that has invoked the debugger.If debugging is enabled and there's a Just-In-Time debugger installed, the debugger is automatically invoked in the following cases:

To enable the debugging of scripts, activate the Enable script debugging with external tool (Just-In-Time debugger) option through the Environment Options dialog of Reliance Design ( Tools > Environment Options > Script Debugging).Įnvironment Options – Enable script debugging with external tool (Just-In-Time debugger) In addition, you need to use Reliance 4.1.3 or later.Įnabling debugging through the Reliance Design development environment You can install both debuggers and decide which one to use just before the actual debugging. If you want a more comfortable and powerful debugger, you can use Visual Studio Community, which is free of charge for non-commercial purposes. A very simple one is Microsoft Script Debugger, which is available to download from the Microsoft's website. To debug scripts, a Just-In-Time debugger is required. How to debug Reliance scripts with an external debugger
