How To Enable Debugging of Resource Type Control Code Functions (199802)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0
  • Microsoft Cluster Server

This article was previously published under Q199802

SUMMARY

When you debug the control code functions of a resource type, you must set both the DebugControlFunctions and DebugPrefix properties of a resource type. There is currently no user interface provided for setting the DebugControlFunctions property.

MORE INFORMATION

You can only set the DebugControlFunctions property through the Cluster.exe command line tool. The Microsoft Platform SDK documentation states that the property should be set to TRUE. Since the property is a DWORD value, this means that you must set it to 1. For example:
cluster restype "<restype display name>" /prop DebugControlFunctions=1
				
where <restype display name> is the display name for the resource type for which you want to set the property.

You can set the DebugPrefix property with either Cluster.exe or Cluster Administrator. If you use Cluster Administrator, you must first install the DebugEX Extension DLL. Next, open the Resource Type Properties dialog box, click the Debug tab, and set the Debug prefix.

If you use Cluster.exe to set the DebugPrefix property, use a command line similar to the following:
cluster restype "<restype display name>" /prop DebugPrefix=<path>
				
where <restype display name> is the display name for the resource type for which you want to set the property and <path> is the full path to the debugger you want to use.

NOTE: The previous Cluster.exe examples assume that you are executing the command on one node of the cluster. If the command is being executed from a client, the cluster name will have to be provided as the first parameter to Cluster.exe. For more information, execute Cluster.exe without any parameters.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbDSWManage2003Swept kbhowto KB199802