Solved

How to debug a Windows service written in Delphi

Posted on 2007-11-16
6
4,100 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
6 Comments
 
LVL 19

Accepted Solution

by:
MerijnB earned 500 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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