Skip to content

Conversation

@WardenGnaw
Copy link
Member

This PR fixes the display string for ArrayItems with Rank > 1 when the "[More...]" is expanded.
Before "[More...]" will expand starting at [0,0] instead of [0,50] for the first expansion since the offsets are at 50.

This change updated the call to GetDisplayNameFromArrayIndex from just index which would always start at 0, to startIndex + index to include the offet.
Added a test to cover this case and refactored the Matrix Natvis syntax to use rol/col instead of random behavior.

Fixes: #1403

This PR fixes the display string for ArrayItems with Rank > 1 when the "[More...]" is expanded. Before "[More...]" will expand starting at [0,0] instead of [0,50] for the first expansion since the offsets are at 50.
Co-authored-by: Marco Peyrot <mapeyrot@microsoft.com>
@WardenGnaw
Copy link
Member Author

Flaky test failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants