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
Version Used:
Version 16.10.0 Preview 3.0 [31303.14.main]
Steps to Reproduce:
Change
classC{staticintX()=>1;staticintY()=>1;}
to
classC{staticintX()=>1;staticintY()=>1;////}
Sequence point updates is a list of (oldLine, newLine), ordered by oldLine.
Each entry in the list applies the delta to the oldLine and all lines greater than oldLine that are less then next entry's oldLine.
Roslyn sees that X moved by one line so it produces line delta +1 for the start line of X. but then it does not compensate for Y not moving. It would need to add line delta 0 to the last line of X + 1
It might be better to change the debugger interface to accept list of (oldStartLine, oldEndLine, delta). this would mean that delta is applied on all lines in range [oldStartLine, oldEndLine). For now we can update Roslyn to produce equivalent: (oldStartLine, oldStartLine + delta), (oldEndLine, oldEndLine) - the second entry resets the delta and would only be present if there is no other delta available for that line.
Version Used:
Version 16.10.0 Preview 3.0 [31303.14.main]
Steps to Reproduce:
Change
to
Sequence point updates is a list of (oldLine, newLine), ordered by oldLine.
Each entry in the list applies the delta to the oldLine and all lines greater than oldLine that are less then next entry's oldLine.
Roslyn sees that X moved by one line so it produces line delta +1 for the start line of X. but then it does not compensate for Y not moving. It would need to add line delta 0 to the last line of X + 1
It might be better to change the debugger interface to accept list of (oldStartLine, oldEndLine, delta). this would mean that delta is applied on all lines in range [oldStartLine, oldEndLine). For now we can update Roslyn to produce equivalent: (oldStartLine, oldStartLine + delta), (oldEndLine, oldEndLine) - the second entry resets the delta and would only be present if there is no other delta available for that line.
Another issue is with overlapping lines:
Start with
and change it to:
Step thru the getter/setter - the debugger mapped both getter and setter to the setter.
The text was updated successfully, but these errors were encountered: