IDkmManagedFuncEvalServices150.ContinueForFuncEval 方法

定义

继续此过程,并等待 func-eval 完成。 调用方应始终在创建 ICorDebugEval 并设置计算之前执行 "CanDoFuncEval"。

public:
 int ContinueForFuncEval(Microsoft::VisualStudio::Debugger::Clr::DkmClrRuntimeInstance ^ clrRuntimeInstance, Microsoft::VisualStudio::Debugger::DkmThread ^ thread, Microsoft::VisualStudio::CorDebugInterop::ICorDebugEval ^ corEval, Microsoft::VisualStudio::Debugger::Evaluation::DkmFuncEvalFlags funcEvalFlags, System::UInt32 timeout, System::String ^ evaluationString, Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionAddress ^ targetMethod);
public int ContinueForFuncEval (Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance clrRuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread thread, Microsoft.VisualStudio.CorDebugInterop.ICorDebugEval corEval, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags funcEvalFlags, uint timeout, string evaluationString, Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress targetMethod);
abstract member ContinueForFuncEval : Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.CorDebugInterop.ICorDebugEval * Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags * uint32 * string * Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress -> int
Public Function ContinueForFuncEval (clrRuntimeInstance As DkmClrRuntimeInstance, thread As DkmThread, corEval As ICorDebugEval, funcEvalFlags As DkmFuncEvalFlags, timeout As UInteger, evaluationString As String, targetMethod As DkmClrInstructionAddress) As Integer

参数

clrRuntimeInstance
DkmClrRuntimeInstance

中表示在目标进程中运行的 CLR 实例。

thread
DkmThread

中要为其执行 func eval 操作的线程。

corEval
ICorDebugEval

中对象。

funcEvalFlags
DkmFuncEvalFlags

中函数计算标志。

timeout
UInt32

中超时。

evaluationString
String

中要计算的文本。 如果函数求值重新进入中断模式,则显示在 "调用堆栈" 窗口中。

targetMethod
DkmClrInstructionAddress

[In,可选]如果已知,则为要计算的目标方法。

返回

Int32

弄执行函数求值的结果。 如果一切顺利,则 S_OK。 其他可能的值包括 S_EVAL_TIMEDOUT、S_EVAL_ABORTED、S_EVAL_RUDE_ABORTED 或 E_PROCESS_DESTROYED。

适用于