Debugging a Windows NT Service (170738)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Datacenter Server
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows NT Server 4.0
This article was previously published under Q170738 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SUMMARY
Debugging a Windows NT service can be done in several ways. You can debug a
service while it is running by attaching to the process ID of the Service
through a debugger such as NTSD or WINDBG. You can also set Windows NT so
that it will start the process in a debugger when you start the service.
These techniques are useful for different debug scenarios. This article
discusses the steps that you need to take when you want to debug a service
during the initialization.
Modification Type: | Major | Last Reviewed: | 5/14/2003 |
---|
Keywords: | kbhowto KB170738 |
---|
|