How to debug a Windows service written in Delphi

I wrote a Windows service with Delphi (Turbo Delphi 2006)
It runs fine but now I have some problem with it and I want to debug it
How to proceed ?
Who is Participating?
MerijnBConnect With a Mentor Sr. Software EngineerCommented:
what I normally do is wrap all functionality in one class
you then can first debug this class in a normal application, which is much easier
LeTayAuthor Commented:
That's indeed what I plan to do if there is no other alternative...
But I guess there should be one
I am a huge fan of CodeSite I don't know how any serious developer can get by without it.
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

MerijnBSr. Software EngineerCommented:
here is some interesting stuff:
here is my experience on this problem: 
I like this one better as it only needs 2-3 minor modifications to the service project and you're off with debugging it.
LeTayAuthor Commented:
Well, I have wrapped the code into a Form application, looks to be the easiest
Thanks all of you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.