IIS 6.0 Debugging Features

Applies To: Windows Server 2003, Windows Server 2003 with SP1

ISAPI application developers that take advantage of the ServerSupportFunction callback function with the HSE_REQ_REPORT_UNHEALTHY parameter can make debugging their ISAPI applications easier. When worker process pinging is enabled, you can also enable orphaning to aide in obtaining memory dumps. This is explained in the next section.

The ASP and ASP.NET ISAPI extensions apply logic that takes advantage of this feature as well. For example, ASP monitors the status of its internal thread pool. If too many of its threads enter a blocking state, it reports itself as unhealthy, which triggers a worker process recycle if pinging is enabled for the application pool. ASP.NET also has several algorithms to detect an unhealthy state.

For more information about the ServerSupportFunction callback function, see ServerSupportFunction Extension Function in the IIS Platform SDK on MSDN.