You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent some time looking into this. Unfortunately I'm not sure where to find the relevant code so I've been focused on reproducing.
This appears to impact an class with an indexer that doesn't derive from Array. For instance the issue is reproducible with string. Checking test[0], test[1], or test[2] in the immediate/quick watch/etc. will display a (the value at index 0):
Seems that our debugger is having a hard time figuring out what it the indexer...
At this time it's not clear what is missing, still requires some investigation.
Tool
Visual Studio extension
Description
When using "Watch" or "Immediate" window SpanByte indexer is returning invalid data (always for first index?).
How to reproduce
Place breakpoint on last line and check "watch" window for spanBytes[1] and spanBytes[0]. Both returns "10", but [1] should be 20.
Expected behaviour
SpanBytes should reflect the same values in both console and watch window
Screenshots
No response
Aditional context
No response
The text was updated successfully, but these errors were encountered: