As "debait" the service code in Rad Studio Delphi XE2?
As "debait" the service code in Rad Studio Delphi XE2? And then when you need something to see the variables in there or something, to have either the logs to write to a file (then uncomfortable this partyanku to read), or move the code in normal (not service) application, which is also "Mitino". And want that service stayed on breakpoint.
There has long been a function Attach to process by specifying a working folder, the paths to the source.
It's still in Delphi 7 used, profiled services (though XP is still the interactive mode worked, but didn't use it), the same is in new Delphi, and works great and even better.
Truth was necessary to write a crutch to helpful service begins when the registry entry appears, and the spinning cycle in idle and issue employment, so that SCM did not give the heave-Ho, saying the service hangs and does nothing, turn it off forcibly.
Connected to the process, without stopping, put the talkie where necessary.
Pressed the button in the crutch, the service was out of cycle and you are good to go.
Pansy.Goodwin48 answered on July 9th 19 at 14:01
I usually hate the program code in separate modules, which then connect to the service project. If you need to debug your code, the cat doing the project console program, connect the modules.