Chapter 13. Debugging and Troubleshooting Windows Services

When you write a Windows service, you’ll want to be able to monitor that service and then, when necessary, debug that service. Microsoft makes it very easy to use the Microsoft Windows Debugging Tools or the Microsoft Visual Studio 2008 IDE to do just that. I’ll demonstrate how to debug a Windows service in this chapter.

Debugging Services

Debugging Windows services is a little more difficult than debugging a standard application, because you cannot run a service directly from the debugger as you would a standard application. With a service, ...

Get Programming Windows® Services with Microsoft® Visual Basic® 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.