DkmClrRuntimeInstance.ContinueForFuncEval Method

Definition

Overloads

ContinueForFuncEval(DkmThread, ICorDebugEval, DkmFuncEvalFlags, UInt32, String)

Continue the process and wait for a func-eval to complete. The caller should always execute 'CanDoFuncEval' before creating the ICorDebugEval and setting up the evaluation.

Location constraint: API must be called from a Monitor component (component level < 100,000).

ContinueForFuncEval(DkmThread, ICorDebugEval, DkmFuncEvalFlags, UInt32, String, DkmClrInstructionAddress)

Continue the process and wait for a func-eval to complete. The caller should always execute 'CanDoFuncEval' before creating the ICorDebugEval and setting up the evaluation.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

ContinueForFuncEval(DkmThread, ICorDebugEval, DkmFuncEvalFlags, UInt32, String)

Continue the process and wait for a func-eval to complete. The caller should always execute 'CanDoFuncEval' before creating the ICorDebugEval and setting up the evaluation.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 int ContinueForFuncEval(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::CorDebugInterop::ICorDebugEval ^ CorEval, Microsoft::VisualStudio::Debugger::Evaluation::DkmFuncEvalFlags FuncEvalFlags, System::UInt32 Timeout, System::String ^ EvaluationString);
public int ContinueForFuncEval (Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.CorDebugInterop.ICorDebugEval CorEval, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Timeout, string EvaluationString);
member this.ContinueForFuncEval : Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.CorDebugInterop.ICorDebugEval * Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags * uint32 * string -> int
Public Function ContinueForFuncEval (Thread As DkmThread, CorEval As ICorDebugEval, FuncEvalFlags As DkmFuncEvalFlags, Timeout As UInteger, EvaluationString As String) As Integer

Parameters

Thread
DkmThread

[In] The thread for which to do the func-eval.

CorEval
ICorDebugEval

[In] The object.

FuncEvalFlags
DkmFuncEvalFlags

[In] Function evaluation flags.

Timeout
UInt32

[In] The timeout.

EvaluationString
String

[In] The text being evaluated. Displayed in the call stack window if the function evaluation re-enters break mode.

Returns

[Out] The result of doing the function evaluation. S_OK if all went well. Other possible values include S_EVAL_TIMEDOUT, S_EVAL_ABORTED, or E_PROCESS_DESTROYED.

Applies to

ContinueForFuncEval(DkmThread, ICorDebugEval, DkmFuncEvalFlags, UInt32, String, DkmClrInstructionAddress)

Continue the process and wait for a func-eval to complete. The caller should always execute 'CanDoFuncEval' before creating the ICorDebugEval and setting up the evaluation.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

public:
 int ContinueForFuncEval(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.DkmThread Thread, Microsoft.VisualStudio.CorDebugInterop.ICorDebugEval CorEval, Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags FuncEvalFlags, uint Timeout, string EvaluationString, Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress TargetMethod);
member this.ContinueForFuncEval : Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.CorDebugInterop.ICorDebugEval * Microsoft.VisualStudio.Debugger.Evaluation.DkmFuncEvalFlags * uint32 * string * Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress -> int
Public Function ContinueForFuncEval (Thread As DkmThread, CorEval As ICorDebugEval, FuncEvalFlags As DkmFuncEvalFlags, Timeout As UInteger, EvaluationString As String, TargetMethod As DkmClrInstructionAddress) As Integer

Parameters

Thread
DkmThread

[In] The thread for which to do the func-eval.

CorEval
ICorDebugEval

[In] The object.

FuncEvalFlags
DkmFuncEvalFlags

[In] Function evaluation flags.

Timeout
UInt32

[In] The timeout.

EvaluationString
String

[In] The text being evaluated. Displayed in the call stack window if the function evaluation re-enters break mode.

TargetMethod
DkmClrInstructionAddress

[In,Optional] The target method being evaluated if known.

Returns

[Out] The result of doing the function evaluation. S_OK if all went well. Other possible values include S_EVAL_TIMEDOUT, S_EVAL_ABORTED, S_EVAL_RUDE_ABORTED or E_PROCESS_DESTROYED.

Applies to