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

  • 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 enabled a profiler to use the inspection portions of the debugging API. However, due to customer feedback, in-process debugging has been removed from the .NET Framework in version 2.0, and replaced with a set of functionality that is more in line with the profiling API.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Version: 1.0

See Also

Reference

ICorProfilerInfo Interface