IDkmUserCodeDeterminer.ComputeUserStatus Method

Definition

Determines whether or not a frame is user code.

public:
 bool ComputeUserStatus(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ frame, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ inspectionSession, [Runtime::InteropServices::Out] bool % exceptionImplementation);
public bool ComputeUserStatus (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame frame, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession inspectionSession, out bool exceptionImplementation);
abstract member ComputeUserStatus : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * bool -> bool
Public Function ComputeUserStatus (frame As DkmStackWalkFrame, inspectionSession As DkmInspectionSession, ByRef exceptionImplementation As Boolean) As Boolean

Parameters

frame
DkmStackWalkFrame

[In] DkmStackWalkFrame represents a frame on a call stack which has been walked, but may not have been formatted or filtered. Formatted frames are represented by DkmStackFrame instead.

inspectionSession
DkmInspectionSession

[In,Optional] Optional inspection session which may be used for caching purposes. The same inspection session is reused when computing the user status of multiple frames in succession.

exceptionImplementation
Boolean

[Out] True if the frame is library code that implements the throwing of exceptions. This will cause the frame to be collapsed if we are stopped here in response to an exception being thrown.

Returns

[Out] True if the frame is user code, false if the frame is nonuser code.

Applies to