?
Solved

How to debug a Windows service written in Delphi

Posted on 2007-11-16
6
Medium Priority
?
4,294 Views
Last Modified: 2010-05-18
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 ?
0
Comment
Question by:LeTay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 19

Accepted Solution

by:
MerijnB earned 1500 total points
ID: 20298153
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
 

Author Comment

by:LeTay
ID: 20298180
That's indeed what I plan to do if there is no other alternative...
But I guess there should be one
0
 
LVL 14

Expert Comment

by:SteveBay
ID: 20298277
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 19

Expert Comment

by:MerijnB
ID: 20298295
here is some interesting stuff: http://www.tolderlund.eu/delphi/service/service.htm
0
 
LVL 28

Expert Comment

by:2266180
ID: 20299131
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
 

Author Comment

by:LeTay
ID: 20372399
Well, I have wrapped the code into a Form application, looks to be the easiest
Thanks all of you
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question