Regarding debugging a service

After reading this about debugging a service, I couldn't get my self not to post a missing part,

if you want to debug your service anyware in your code, you could do the following:

    System.Diagnostics.Debugger.Break(); // my 0.02$

and you will get the debugger window and could attach to the service.

Comments (1)

  1. Roy Osherove says:

    It’s weird to read you in the MS feed 🙂

Skip to main content