Partager via


ICorDebugProcess::IsTransitionStub Method

Gets a value that indicates whether an address is inside a stub that will cause a transition to managed code.

HRESULT IsTransitionStub(
    [in] CORDB_ADDRESS address,
    [out] BOOL *pbTransitionStub);

Parameters

Parameter Description

address

[in] A CORDB_ADDRESS value that specifies the address in question.

pbTransitionStub

[out] A pointer to a Boolean value that is true if the specified address is inside a stub that will cause a transition to managed code; otherwise *pbTransitionStub is false.

Remarks

The IsTransitionStub method can be used by unmanaged stepping code to decide when to return stepping control to the managed stepper.

You can also identity transition stubs by looking at information in the portable executable (PE) file.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugProcess Interface
ICorDebugProcess2 Interface