Example #1
0
        private CorDebugValue[] EnsureValues(ref CorDebugValue[] values, uint cInfo, Engine.StackValueKind kind)
        {
            if (values == null)
            {
                values = CorDebugValue.CreateValues(this.Engine.GetStackFrameValueAll(m_chain.Thread.ID, this.DepthTinyCLR, cInfo, kind), this.Process);
            }

            return(values);
        }
Example #2
0
        private CorDebugValue GetStackFrameValue(uint dwIndex, Engine.StackValueKind kind)
        {
            using (CancellationTokenSource cts = new CancellationTokenSource())
            {
                var frameValue = this.Engine.GetStackFrameValueAsync(m_chain.Thread.ID, m_depthnanoCLR, kind, dwIndex, cts.Token);
                frameValue.Wait();

                return(CorDebugValue.CreateValue(frameValue.Result, this.AppDomain));
            }
        }
        private CorDebugValue GetStackFrameValue(uint dwIndex, Engine.StackValueKind kind)
        {
            var stackFrameValue = Engine.GetStackFrameValue(_chain.Thread.ID, _depthnanoCLR, kind, dwIndex);

            return(CorDebugValue.CreateValue(stackFrameValue, AppDomain));
        }
Example #4
0
 private CorDebugValue GetStackFrameValue(uint dwIndex, Engine.StackValueKind kind)
 {
     return(CorDebugValue.CreateValue(this.Engine.GetStackFrameValue(m_chain.Thread.ID, m_depthTinyCLR, kind, dwIndex), this.AppDomain));
 }