Debugging Scripts

Debugging Scripts with Microsoft Visual Studio .NET

You can debug MOM scripts either from the local computer or a remote computer using Microsoft Visual Studio .NET. Once the debugger is connected to the MOM service, you can step through scripts, set breakpoints, view the call stack, examine variables and objects, and use other debugging features in the Visual Studio .NET development environment.

You can debug scripts running on either the MOM Management Server computer or an agent computer.

The following topics explain how to install and configure MOM script debugging:

  1. Installing Remote Debugging Components
  2. Enabling Script Debugging
  3. Identifying Which MOM Process to Debug
  4. Attaching the Debugger to a Script
  5. Debugging a Script

Testing Scripts

For more information about testing MOM scripts, see the MOM 2005 Resource Kit for documentation about the ResponseTest utility.

See Also

Remote Debugging Setup | Using the Debugger