ICorProfilerInfo::EndInprocDebugging Method

Shuts down an in-process debugging session. This method is obsolete in the .NET Framework version 2.0.

HRESULT EndInprocDebugging(
    [in]  DWORD dwProfilerContext);

Parameters

Parameter Description

dwProfilerContext

[in] A value that identifies the debugging session. This value must be the same as that received in the ICorProfilerInfo::BeginInprocDebugging Method method.

Remarks

You must call ICorProfilerInfo::BeginInprocDebugging Method and EndInprocDebugging within the same callback method.

The CLR debugging services supported limited in-process debugging in the .NET Framework versions 1.0 and 1.1. In-process debugging allowed a profiler to use the inspection portions of the Debugging (Unmanaged API Reference) API. However, due to customer feedback, in-process debugging has been removed from the .NET Framework 2.0, and replaced with a set of functionality that is more in line with the profiling API.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 1.0

See Also

Reference

ICorProfilerInfo Interface