示例#1
0
        DbgEngineValue GetValueCore(DbgEvaluationInfo evalInfo)
        {
            var dnValue = runtime.GetValue(evalInfo, dnObjectId);

            try {
                return(new DbgEngineValueImpl(dnValue));
            }
            catch {
                dnValue.Dispose();
                throw;
            }
        }
示例#2
0
        DbgEngineValue GetValueCore(DbgEvaluationContext context, DbgStackFrame frame, CancellationToken cancellationToken)
        {
            var dnValue = runtime.GetValue(context, frame, dnObjectId, cancellationToken);

            try {
                return(new DbgEngineValueImpl(dnValue));
            }
            catch {
                dnValue.Dispose();
                throw;
            }
        }