diff --git a/tools/ConsoleTypes.natvis b/tools/ConsoleTypes.natvis index 79a2fe7abd..ba87bc3a45 100644 --- a/tools/ConsoleTypes.natvis +++ b/tools/ConsoleTypes.natvis @@ -10,16 +10,8 @@ - - {{FG: {_foreground}, BG: {_background}, Legacy: {_wAttrLegacy}, {_extendedAttrs}} - - _wAttrLegacy - _foreground - _background - _extendedAttrs - + {{FG: {_foreground}, BG: {_background}, Attr: {_attrs}} + {{FG: {_foreground}, BG: {_background}, Attr: {_attrs}, Hyperlink: {_hyperlinkId}} @@ -59,15 +51,15 @@ - {{W: {_width,d} x H: {_height,d} -> A: {_width * _height, d}}} + {{W: {width} x H: {height} -> A: {width * height}}} - {{X: {_x,d}, Y: {_y,d}}} + {{X: {x}, Y: {y}}} - {{L: {_topLeft._x}, T: {_topLeft._y}, R: {_bottomRight._x} B: {_bottomRight._y} [W: {_bottomRight._x - _topLeft._x} x H: {_bottomRight._y - _topLeft._y} -> A: {(_bottomRight._x - _topLeft._x) * (_bottomRight._y - _topLeft._y)}]}} + {{L: {left}, T: {top}, R: {right} B: {bottom} [W: {right - left} x H: {bottom - top} -> A: {(right - left) * (bottom - top)}]}} @@ -122,6 +114,18 @@ + + {{ width={_width}, height={_height} }} + + _firstRow + *(ROW*)_buffer.__ptr_.__value_ + + (_commitWatermark - _buffer.__ptr_.__value_ - 1) / _bufferRowStride + *(ROW*)(_buffer.__ptr_.__value_ + _bufferRowStride * ($i + 1)) + + + + {{ size={_size} }}