views:

2

answers:

0

Hi,

I have windows service project in VS2005 which was developed on XP platform. For Debugging i used the following code

        #if (DEBUG)
           Debugger.Launch(); 
        #endif

This worked fine and it opened up dialog to select the instance of Visual Studio that has the Windows Service project open and i could debug it.

Now i have the same project moved to a system with windows7. The dialog doesnt seem to open. Is there anyway i can get the debugging happen.

Thanks Prady