public int ParseText(string pszCode, uint dwFlags, uint nRadix, out IDebugExpression2 ppExpr, out string pbstrError, out uint pichError) { pbstrError = null; pichError = 0; StackFrame frame = _monoStackFrame; if (frame.ValidateExpression(pszCode)) { ObjectValue evalValue = frame.GetExpressionValue(pszCode, EvaluationOptions.DefaultOptions); evalValue.WaitHandle.WaitOne(); ppExpr = new MonoExpression(_engine, _thread, evalValue, pszCode); return(S_OK); } ppExpr = null; return(S_FALSE); }
public void OnExpressionEvaluated(MonoExpression expression, ObjectValue expValue, string expString, MonoThread thread) { _callback.Event(_engine, _engine.Process, _engine, thread, new DebugEventExpressionComplete(expression, expValue, expString), ref DebugEventExpressionComplete.ID, DebugEventExpressionComplete.Attributes); }