Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug hovers often stop working after debugging for a bit #107391

Closed
eamodio opened this issue Sep 24, 2020 · 4 comments
Closed

Debug hovers often stop working after debugging for a bit #107391

eamodio opened this issue Sep 24, 2020 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues insiders-released Patch has been released in VS Code Insiders verified Verification succeeded

Comments

@eamodio
Copy link
Contributor

eamodio commented Sep 24, 2020

This feels relatively recent, but I've been having a lot of issues with debug hovers not showing up over variables, etc. I don't have any reproducible steps, except for it seems to happen after debugging for a little while. And when it happens, the variables view will still show the contents of the variable I try to hover over.

@eamodio
Copy link
Contributor Author

eamodio commented Sep 24, 2020

It might have to do with switching away from vscode while debugging and back. Since I just did that, and when I came back to vs code the hovers I was getting were GitLens rather than debug. And then when I stepped to the next line all hovers went away.

@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Sep 24, 2020
@isidorn
Copy link
Contributor

isidorn commented Sep 25, 2020

@eamodio thanks Eric for reporitng this. This is probably related to this change #84561
In short: when holding alt we hide the debug hover on purpose. Though it should come back when you are not holding the alt key.
Now that you know the motiviation behind the change it might be easier to find repro steps? Where you holding the alt key or was it unrelated to this?

@eamodio
Copy link
Contributor Author

eamodio commented Sep 25, 2020

@isidorn it definitely is related to alt. It seems when I alt+tab out of vscode, vscode still thinks alt is down (or it just never gets the up) so it stops showing the debug hovers until I press alt again.

Also given that alt by itself (on Windows) focuses the menu bar it seems like that would be an issue (although I have the alt focusing the menu bar turned off)

@isidorn
Copy link
Contributor

isidorn commented Sep 25, 2020

@eamodio I can also listen to some focus lost and restart it then. Hopefully that should fix it.

@isidorn isidorn added the bug Issue identified by VS Code Team member as probable bug label Sep 25, 2020
@isidorn isidorn added this to the September 2020 milestone Sep 25, 2020
@eamodio eamodio added the verified Verification succeeded label Oct 1, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants
@eamodio @weinand @isidorn @connor4312 and others