ICorProfilerInfo::BeginInprocDebugging Method

Initializes in-process debugging support. This method is obsolete in the .NET Framework version 2.0.

HRESULT BeginInprocDebugging(
    [in]  BOOL   fThisThreadOnly,
    [out] DWORD *pdwProfilerContext);

Parameters

Parameter Description

fThisThreadOnly

[in] Set this value to true to initialize debugging support for only the current thread; set it to false to initialize debugging support for all threads.

pdwProfilerContext

[out] The pointer to a returned value that identifies the debugging session.

Remarks

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