dotnet/roslyn
The "current line" indicator disappeared when deleting spaces twice
Aperta
#33.254 aperta il 8 feb 2019
Area-InteractiveBugInteractive-Debugginghelp wanted
Metriche repository
- Star
- (20.414 stelle)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione
Version Used: Visual Studio 2019 Preview 2
🔗 Originally filed as https://devdiv.visualstudio.com/DevDiv/_workitems/edit/238276
Steps to Reproduce:
-
Use the following code:
static void Main(string[] args) { int a, b, c, d; a = 1; b = 2; c = 3; d = 4; } -
Set a breakpoint on
c = 3; -
Start debugging and wait for the breakpoint to get hit
-
Delete the spaces before
c = 3; -
Press Ctrl+Z
-
Repeat step (4)
Expected Behavior:
The debugger still shows c = 3; as the current line (with the yellow arrow).
Actual Behavior:
After step (6), the yellow arrow goes away and the current line is now shown.