HOWTO: Enable Debugging of Resource Type Control Code Functions

ID: Q199802


The information in this article applies to:


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.

Additional query words:


Keywords          : kbClustServ100 
Version           : WINDOWS:; winnt:
Platform          : WINDOWS winnt 
Issue type        : kbhowto 

Last Reviewed: March 24, 1999