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);

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.

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: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

Show: