Share via


ICorDebugStepper::SetInterceptMask Method

Sets a value that specifies the types of code that are stepped into.

HRESULT SetInterceptMask (
    [in] CorDebugIntercept    mask
);

Parameters

  • mask
    [in] A combination of values of the CorDebugIntercept enumeration that specifies the types of code.

Remarks

If the bit for an interceptor is set, the stepper will complete when the given type of intercepting code is encountered. If the bit is cleared, the intercepting code will be skipped.

The SetInterceptMask method may have unforeseen interactions with ICorDebugStepper::SetUnmappedStopMask (from the user's point of view). For example, if the only visible (that is, non-internal) portion of class initialization code lacks mapping information and STOP_NO_MAPPING_INFO isn't set (see the ICorDebugStepper::SetUnmappedStopMask method and the CorDebugUnmappedStop enumeration), the stepper will step over the class initialization. By default, only the INTERCEPT_NONE value of the CorDebugIntercept enumeration will be used.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugStepper Interface

ICorDebugStepper2 Interface