コード例 #1
0
ファイル: HeapNodes.cs プロジェクト: mfkiwl/RTOSPlugins
            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)
                });
            }
コード例 #2
0
            public override LiveWatchNodeState UpdateState(LiveWatchUpdateContext context)
            {
                RawValue = _StackNode._DistanceToHeapEnd;

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