-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 session cannot be started a second time, extension re-installation required #8371
Comments
On the second F5, I don't see anything appear in the debug console which leads me to think VS Code is not activating the debug adapter. Do you see this in VS Code v1.62? |
I have the same issue with VSCode 1.62.
This way, it should be "transparent" for the users, they just have to open a terminal and the extension will be installed without network errors.
Do you know where the issue could come from? I guess the debug adapter starts a shell process since I have since seen the below lines in the history, maybe it gets corrupted by my customization:
Until #8152 is implemented, do you have a better way to "auto-magically" install the Linux extension so the users don't always have to do it? |
Bug type: Debugger
Describe the bug
I can successfully start a first debugging session of my C++ binary.
After stopping it, I cannot start anymore a debug session: the bottom bar turns orange and immediately back to normal.
Nothing seems to be logged anywhere, even with all logs enabled.
I have to uninstall the ms-vscode.cpptools extension, reload VSCode, and re-install the extension to debug again.
The problem is the same after the re-installation.
Here is my launch.json:
I have recorded the issue:
vscode-cpptools-debug-failed.mp4
The text was updated successfully, but these errors were encountered: