Joben.Rara.blogs(".NET")

There are two ways to write error-free programs; only the third one works.

I learned something new this week

I've been working on my "super duper mucho excellente" windows service project and the obvious questions pops up "How do you debug a windows service?" I've been told "Use a console/windows program to drive the business logic of the windows service". But I'm lazy and the prospect of maintaining another project/application just to debug a windows service is too much work for me.

Another alternative is attaching to the process using "Debug...Processes...Attach". However, by the time I attach to the process, the program has already ran past my breakpoints. What was I to do?

So off to Google I went and harvested the world's wisdom while munching on donuts.

I saw this post by Paul Ballard.

Now I can say, "I've learned something new today!"

Posted: Oct 21 2005, 07:11 AM by velocity | with no comments
Filed under: