-
Notifications
You must be signed in to change notification settings - Fork 454
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
Reconnecting after stopping/canceling build #4128
Comments
@i-ky Thanks for posting this issue. Are you able to provide a simple reproduction project to help us quickly investigate this issue?:) |
@v-frankwang, thank you for your prompt reply! Unfortunately, I have experienced it with a closed source project that I cannot share. I've tried to reduce it, but probably reduced it too much to the point that the described behaviour cannot be observed. I will keep trying to provide a reproducer that I could share. In the meantime I will be glad to do more testing and provide more (obfuscated) details about the project where the issue is present. Do you have any clues regarding the possible cause? |
@v-frankwang, sorry, I spoke too soon. 😃 UPD: I managed to reproduce the issue using this example on a completely different (Windows this time) machine, so it should be good enough to experiment with. |
@i-ky Thank you very much for your reply, I have reproduced the issue based on the items you provided as well as the steps, here are the exact steps to reproduce it: ENV: Repro steps:
|
Brief Issue Summary
I am working on a project using CMake Tools and Dev Containers. There is a target that executes
run-clang-tidy
analysis:This target is quite "heavy" and long-running, so sometimes it needs to be stopped/canceled to free up CPU and memory for other more pressing tasks.
At first build seems to be stopping normally, I see processes terminating in the Output, CPU utilization drops as expected, but then VS Code throws:
...and enters a seemingly infinite loop attempting to reconnect.
The only thing that helps is clicking Reload Window button, but this leads to the loss of some part of IDE state (terminal window contents, etc.)
CMake Tools Diagnostics
Debug Log
Additional Information
The project also uses
CMakePresets.json
, here is the relevant part:The text was updated successfully, but these errors were encountered: