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 ?
LVL 1
LeTayAsked:
Who is Participating?
 
MerijnBSr. 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
0
 
LeTayAuthor Commented:
That's indeed what I plan to do if there is no other alternative...
But I guess there should be one
0
 
SteveBayCommented:
I am a huge fan of CodeSite http://www.raize.com/DevTools/CodeSite/Default.asp. I don't know how any serious developer can get by without it.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
MerijnBSr. Software EngineerCommented:
here is some interesting stuff: http://www.tolderlund.eu/delphi/service/service.htm
0
 
2266180Commented:
here is my experience on this problem: http://www.ciuly.com/forum/viewtopic.php?t=114 
I like this one better as it only needs 2-3 minor modifications to the service project and you're off with debugging it.
0
 
LeTayAuthor Commented:
Well, I have wrapped the code into a Form application, looks to be the easiest
Thanks all of you
0
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.