The following steps can help developer to debug cpl program in VS .NET 2005:
1. Set debug command to C:/Winnt/system32/rundll32.exe or C:/Windows/rundll32.exe
2. Set debug arguments to shell32.dll, Control_RunDLL [CPL path and name]
After this, you can easily set breakpoint and step code lines one by one. Enjoy it!