Last post May 05, 2009 11:43 AM by wujood
May 05, 2009 10:14 AM|wujood|LINK
I setup a windows service project and am testing it by starting the service, attaching the debugger to the process (myservice.exe) and stepping through the code. All is fine until I want to stop debugging by detaching the process. I am using VS 2008 and
there is no option for detaching the process as explained on certain blogs on the web, which forces me to stop debugging and hence stop the windows service as well.
Under Debug menu, I see Attach to Process option and then in the Attach to Process window there is only Attach button and no Detach button. I remember it used to be in VS 2003 but not anymore. Perhaps I am missing something?
Thanks in advance for help.
Detach from Process
May 05, 2009 11:43 AM|wujood|LINK
Just to add to the above post ... I navigated from Debug > Windows > Processes window but the Detach Process icon on the window is disabled and also upon right clicking my process/win service, the option is grayed out for Detach from Process. Under the Debugging
column it says Managed, Native.
Any ideas how to resolve this?