如何调试服务

Because a service must be run from within the context of the Services Control Manager rather than from within Visual Studio .NET, debugging a service is not as straightforward as debugging other Visual Studio application types. To debug a service, you must start the service and then attach a debugger to the process in which it is running. You can then debug your application using all of the standard debugging functionality of Visual Studio.
posted @ 2006-04-10 14:52  AoneChen  阅读(72)  评论(0)    收藏  举报