Microsoft.VisualStudio.Debugger.Clr Namespace

Classes

DkmActiveStatement

Represents current location on the stack.

This API was introduced in Visual Studio 15 Update 5 (DkmApiVersion.VS15Update5).

DkmActiveStatementUpdate

Active statement affected by a managed update. Important when remapping the instruction pointer to the appropriate location.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

DkmClrAlias

Describes an alias that is understood by CLR expression evaluators. An alias is a symbol that can be used to refer to a value known by the debugger. Examples of these values are the current exception and values returned by the last method call. The Expression Compiler can use this method to determine which aliases are valid for use in expressions and their types.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

DkmClrAppDomain

DkmClrAppDomain represents a CLR app domain inside a process which is being debugged.

DkmClrCaughtExceptionInformation

Provides information about an exception which was caught in the target process. This information includes details of the exception that was caught.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmClrCodePath

DkmClrCodePath represents a code path in IL.

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

DkmClrExceptionInformation

Provides information about a CLR exception which was raised in the target process.

DkmClrInstructionAddress

DkmClrInstructionAddress is used for addresses in managed code.

Derived classes: DkmClrNcInstructionAddress

DkmClrInstructionSymbol

DkmClrInstructionSymbol represents an IL instruction that runs under the Common Language Runtime (CLR) in the target process. This object contains the method version number. So in Edit-and-Continue scenarios, the instruction symbol would be different for different versions of the method. This object does not contain information about generic binding parameters. So different generic instantiations of a method (ex: MyMethod<string> and MyMethod<int>) are represented by the same instruction symbol since the CLR represents them with a single method token.

Derived classes: DkmClrNcInstructionSymbol

DkmClrLocalConstant

Represents a local constant defined within a method scope. These are defined with ISymUnmanagedWriter::DefineConstant or ISymUnmanagedWriter2::DefineConstant2.

DkmClrLocalVariable

Represents a local variable defined within a method scope. These are defined with ISymUnmanagedWriter::DefineLocalVariable or ISymUnmanagedWriter2::DefineLocalVariable2.

DkmClrModuleInstance

'DkmClrModuleInstance' is used for modules which are loaded into the Common Language Runtime.

Derived classes: DkmClrNcModuleInstance

DkmClrRuntimeInstance

Represents a CLR instance running in a target process.

Derived classes: DkmClrNcRuntimeInstance

DkmClrType

Represents a managed type.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmExceptionRegionUpdate

Exception regions which were affected during a managed update.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

DkmILInterpreterPrimitiveValue

A primitive value or string.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmILInterpreterReferenceValue

A reference to an object in the debuggee's managed heap.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmILInterpreterValue

A value that can be passed into and returned from a managed method being interpreted.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

Derived classes: DkmILInterpreterPrimitiveValue, DkmILInterpreterReferenceValue

DkmManagedEncUpdates

Represents a set of managed Edit and Continue updates.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

DkmManagedHeapSampler

DkmManagedHeapSampler represents a sampler for objects in the managed heap.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedHeapWalker

DkmManagedHeapWalker represents an enumerator for managed heap.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedModuleUpdate

Represents a managed Edit and Continue update for a given managed module.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

DkmManagedReturnStackFrame

Contains information needed to construct a managed DkmStackWalkFrame.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedReturnValueContext

Provides a context for managed return value.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedReturnValueCopy

Managed return value of value type copy.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedReturnValueInfo

Provides information for managed return value.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

Derived classes: DkmManagedReturnValueCopy, DkmManagedReturnValueReference

DkmManagedReturnValueReference

Managed return value of reference type.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmSequencePointsUpdate

Sequence points affected by a managed update on a specified file.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

DkmSourceLineUpdate

Source line affected by a managed update.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

Structs

DkmApplyManagedEncUpdatesAsyncResult
DkmClrAwaitExpressionInfo

Contains the offsets for an await expression.

DkmClrMethodId

DkmClrMethodId is a token/version pair which is used to uniquely identify the symbol store's understanding of a particular CLR method within a module.

DkmClrMethodScopeData

DkmClrMethodScopeData describes a scope within a method. These are defined using ISymUnmanagedWriter::OpenScope/CloseScope.

DkmClrNativeCodeMapEntry

Structure to define the IL instruction mapping for one or more native instructions.

DkmClrSequencePoint

A sequence point is a point in a managed method where the JIT can guarantee all side effects have been written to local variables. The debugger typically only stops at sequence points.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview).

DkmGetActiveStatementsAsyncResult

Result of an asynchronous DkmClrRuntimeInstance.GetActiveStatements call.

DkmGetActiveTaskAddressesForThreadAsyncResult

Result of an asynchronous DkmClrAppDomain.GetActiveTaskAddressesForThread call.

DkmGetAllAwaitExpressionInfoForStatementAsyncResult

Result of an asynchronous DkmClrInstructionSymbol.GetAllAwaitExpressionInfoForStatement call.

DkmGetAsyncKickoffMethodAsyncResult

Result of an asynchronous DkmClrInstructionSymbol.GetAsyncKickoffMethod call.

DkmGetAsyncMethodLocationAsyncResult

Result of an asynchronous DkmClrInstructionSymbol.GetAsyncMethodLocation call.

DkmGetMethodLocalSymbolsAsyncResult

Result of an asynchronous DkmClrInstructionSymbol.GetMethodLocalSymbols call.

DkmGetMethodSymbolStoreAttributeAsyncResult

Result of an asynchronous DkmClrInstructionSymbol.GetMethodSymbolStoreAttribute call.

DkmGetMethodTokensAsyncResult

Result of an asynchronous DkmClrModuleInstance.GetMethodTokens call.

DkmGetNextAwaitExpressionInfoAsyncResult

Result of an asynchronous DkmClrInstructionSymbol.GetNextAwaitExpressionInfo call.

DkmGetNonUserCodeMetadataFlagsAsyncResult

Result of an asynchronous DkmClrInstructionAddress.GetNonUserCodeMetadataFlags call.

DkmILRange

Describes a range of IL instructions within a method.

DkmManagedHeapObjectInfo

Represents managed heap object info. Corresponds to COR_HEAPOBJECT defined in cordebug.h.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedHeapRootInfo

Represents info about a managed heap root.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedHeapSegmentInfo

Represents info about a managed heap segment.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedHeapTypeInfo

Represents info about a type in managed heap.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedObjectReferenceInfo

Represents info about a managed object reference.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmManagedTypeId

Represents managed type id of an object. Corresponds to COR_TYPEID defined in cordebug.h.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmUpdateFavoritesAsyncResult

Result of an asynchronous DkmClrRuntimeInstance.UpdateFavorites call.

Enums

DkmActiveStatementFlags

Specifies active statement location.

This API was introduced in Visual Studio 15 Update 5 (DkmApiVersion.VS15Update5).

DkmClrAliasKind

Enum that defines the kinds of aliases returned by DkmClrRuntimeInstance.GetAliases. The methods referred to below are defined in the virtual module Microsoft.VisualStudio.Debugger.Clr.IntrinsicMethods. The metadata for this module is available by calling DkmClrRuntimeInstance.GetIntrinsicAssemblyMetaDataBytesPtr.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

DkmClrAsyncMethodLocation

In an async method. all the possible locations the debugger could have stopped.

DkmClrCastExpressionOptions

Options for the GetClrCastExpression method.

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

DkmClrCodePathKind

DkmClrCodePathKind describes the kind of code path (Managed only).

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

DkmClrDebuggingServicesId

Indicates which version of the CLR debugging services (mscordbi.dll or other implementation of the ICorDebug API) should be used when debugging this process.

DkmClrHeaderStatus

Contains information from the 'Flags' field of the IMAGE_COR20_HEADER of the loaded module. This indicates which type of binary was loaded.

DkmClrModuleFlags

Flags which indicates traits of a DkmModuleInstance which has been loaded by the CLR.

DkmEncAvailableStatus

EnC availability status - whether EnC is available or it is not supported given a specified reason.

This API was introduced in Visual Studio 16 Update 1 (DkmApiVersion.VS16Update1).

DkmILInterpreterOptions

Represents options for invoking the IL interpreter.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmILInterpreterValue.Tag

DkmILInterpreterValue is an abstract base class. This enum indicates which derived class this object is an instance of.

DkmManagedReturnValueInfo.Tag

DkmManagedReturnValueInfo is an abstract base class. This enum indicates which derived class this object is an instance of.

DkmMetadataStatus

Describes whether or not metadata is available for a given module instance.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

DkmNonUserCodeFlags

Indicates whether non user code is due to DebuggerHidden, DebuggerStepThrough, or DebuggerNonUserCode attribute marked on method or class or marked hidden due 0xfeefee sequence point.