Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.84 KB

icorprofilerinfo-begininprocdebugging-method.md

File metadata and controls

56 lines (41 loc) · 1.84 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: ICorProfilerInfo::BeginInprocDebugging Method
ICorProfilerInfo::BeginInprocDebugging Method
03/30/2017
ICorProfilerInfo.BeginInprocDebugging
mscorwks.dll
COM
ICorProfilerInfo::BeginInprocDebugging
BeginInprocDebugging method [.NET Framework profiling]
ICorProfilerInfo::BeginInprocDebugging method [.NET Framework profiling]
c5c82c69-99f8-4447-aee0-42cca0a5eb5c
apiref

ICorProfilerInfo::BeginInprocDebugging Method

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

Syntax

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 System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Version: 1.0

See also