Exemplo n.º 1
0
            public override LiveWatchNodeState UpdateState(LiveWatchUpdateContext context)
            {
                int value = _Callback(_HeapNode._ParsedHeapContents);

                RawValue = new LiveVariableValue(_HeapNode._HeapContents.Timestamp, _HeapNode._HeapContents.Generation, BitConverter.GetBytes(value));
                return(new LiveWatchNodeState {
                    Value = SelectedFormatter.FormatValue(RawValue.Value)
                });
            }
            public override LiveWatchNodeState UpdateState(LiveWatchUpdateContext context)
            {
                RawValue = _StackNode._DistanceToHeapEnd;

                return(new LiveWatchNodeState
                {
                    Value = SelectedFormatter.FormatValue(RawValue.Value)
                });
            }