Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.02.17;
Скачать: CL | DM;

Вниз

Отладка сервисов.   Найти похожие ветки 

 
v2a   (2003-02-10 17:17) [0]

Добрый день!
Как осуществляется сабж? Есть какие-то стандартные средства в Делфи?


 
Axel ©   (2003-02-10 17:36) [1]

fr help:

"You can debug service applications by attaching to the service application process when it is already running (that is, by starting the service first, and then attaching to the debugger). To attach to the service application process, choose Run|Attach To Process, and select the service application in the resulting dialog.

In some cases, this approach may fail, due to insufficient rights. If that happens, you can use the Service Control Manager to enable your service to work with the debugger:

1 First create a key called Image File Execution Options in the following registry location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

2 Create a subkey with the same name as your service (for example, MYSERV.EXE). To this subkey, add a value of type REG_SZ, named Debugger. Use the full path to Delphi32.exe as the string value.
3 In the Services control panel applet, select your service, click Startup and check Allow Service to Interact with Desktop.

On Windows NT systems, you can use another approach for debugging service applications. However, this approach can be tricky, because it requires short time intervals:

1 First, launch the application in the debugger. Wait a few seconds until it has finished loading.
2 Quickly start the service from the Control Panel or from the command line:

start MyServ

You must launch the service quickly (within 15-30 seconds of application startup) because the application will terminate if no service is launched."



Страницы: 1 вся ветка

Текущий архив: 2003.02.17;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.019 c
4-53346
akvilon
2003-01-06 18:44
2003.02.17
События за пределами формы.


3-52795
wHammer
2003-01-31 16:19
2003.02.17
Как определить в каком поле находится курсор в DBGridEh?


6-53140
Николай Быков
2002-12-25 12:52
2003.02.17
кликаем в TWebBrowser е


1-53036
Sharik_212
2003-02-10 20:02
2003.02.17
Обработка OnURLClick в RxRichEdit


3-52773
XAPAKTEP
2003-01-31 09:40
2003.02.17
Посоветуйте как переделать прогу локальн.=>сеть