How to use the Outlook script debugger

Microsoft Outlook

Show All

How to use the Outlook script debugger

To use the script debugger, open a form in design mode.

To add VBScript to the form, on the Form menu, click on View Code. In the Script Editor window, add the necessary VBScript for your form.

For more information about adding VBScript to the form, click here

On the Form menu, click Run This Form.

While your form is in run mode, on the Tools menu, select Forms and click Script Debugger.

You can also use the Stop statement in code to launch the debugger.

Note If there is no VBScript for this form, the Script Debugger menu item will be unavailable.

The VBScript for this form will appear in a read-only window. You cannot change text in this window.

On the Help menu of the Microsoft Script Debugger, select Help Topics for more detailed information about:

  • Debugging scripts
  • Viewing source code
  • Controlling program execution
  • Viewing and changing values
  • Viewing and controlling program flow