Debugging Extension DLLs
The following procedure describes how to debug a Cluster Administrator extension DLL:
To debug a Cluster Administrator extension DLL
Run your debugger and load the project workspace that contains your Cluster Administrator extension DLL project.
Select the debug version of your Cluster Administrator extension DLL project.
On the Build menu, click Settings.
In the Settings For box, click the entry that represents the debug version of your Cluster Administrator extension DLL project.
Click the Debug tab to switch to the Debug property page.
Type the full path to Cluster Administrator (typically C:\Windows\Cluster\CluAdmin.exe) in the Executable for debug session box and click OK.
Set a breakpoint in the project, such as at the OnInitDialog method for the parameter page in the ResProp.cpp source file.
Press F5 to start Cluster Administrator in the debugger.
View the properties of a resource of the type supported by your Cluster Administrator extension DLL.
Click the Parameters tab to switch to the Parameters page. This should cause the debugger to halt at the breakpoint set in step 7.
The debugger should also halt when you create a new resource of the type supported by your extension DLL.
[!Warning]
If you are not running the Cluster service interactively (that is, from the command line), trying to debug a resource DLL with the MSDEV debugger causes the appearance of an error dialog box.