-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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 toolbar not appearing #194974
Comments
What values do you have for the following settings?
|
All are set to their defaults:
|
If you set its location to "docked" does it show up in the titlebar of the Run and Debug view when you start debugging? Or if you set it to "commandCenter" does it appear there? |
Thanks for the follow-up. No, no location setting yields a visible toolbar on this workstation. The "Window" output on the workstation with the issue shows the following error when I
Please let me know if there are any other outputs/logs I can generate to pass on. |
Thanks for the error. That looks like it would appear when debugging stops, not when it starts. But it indictates the possible problem, that we got an Can you try clearing your whole settings.json file and trying it again? Sounds like maybe you tried that but I see settings in your screenshot so I want to check. And no other errors in the Window log or devtools console? |
Any further info on this? The issue has persisted for me through multiple VS Code updates. |
I'll try to add some logging or something here, still not sure what is going on though. |
yea, I don't think that error is related. I reproduced it by setting In the screenshot in #194974 (comment), the vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.ts Lines 108 to 113 in 8371e4a
|
Thanks for continuing to track this. Just want to note that this issue persists for me. |
I also noticed recently when launching my extension that the debug toolbar appears, but something causes it to disappear and I have to close the launched instance of vscode and relaunch as the toolbar is gone. This only stared happening sometime this year (2024). To reproduce, in my case: launch the extension I'm working on. Toolbar appears. Click reload, toolbar reappears. Click reload again, toolbar does not reappear. If I then close the launched window and re-run the launcher the toolbar never reappears until I restart vscode.
System:
|
Here you can see that it disappears after reloading twice and then never reappears: |
Just tried insiders v1.87.0 and my issue is still present. Launching my extension to test it, click reload a few time on the toolbar and the toolbar disappears. My issue is not that the toolbar appears on the top left. @roblourens |
Benjamin filed this issue which is my best guess as to what's going on: the debug toolbar at some point got a position outside of the window and we never constrain its position to restore it to be within the window. I'm going to merge that into this issue and apply a hopeful fix for that. |
actually, nevermind, we do restrain it when the window is first loaded. That's not it 😕 |
I also occurs this issue when I debug a vscode extension, reproduce:
|
Your case was #203472. I don't think that is what this issue is about. |
We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our issue reporting guidelines might help you with that. Happy Coding! |
Does this issue occur when all extensions are disabled?: Need language support extensions to be able to launch the debug session, but I have tried the minimal cases (just C/C++ Extension for debugging a C file, just Python extension for debugging a Python file).
Version: 1.83.0 (user setup)
Commit: e7e0370
Date: 2023-10-03T16:12:16.321Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045
Steps to Reproduce:
Today is the first time this has ever happened after months of daily use. Another PC running the same version of VS Code with synced settings and extensions does NOT have this issue, nor does a fresh installation of the Insider's build. I tried a complete clean reinstall of VS Code 1.83.0, including deleting all appdata/userprofile files, but the issue remains through multiple restarts and relaunches.
The text was updated successfully, but these errors were encountered: