You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
corrupt json config files cause cathastrophic chain failure #13829
Just wanted to share this, as I came out of a day of debugging and attempts and reinstalling activity
In a project in Platformio, using cpp files, a json file got corrupted in some way and became binary.
effect is that the extension fails to load, which in turns caused platformio to fail to load.
You might consider handling these cases gracefully.
Discovered after spotting this message in the Help Developer tools of Vstudio Activating extension 'ms-vscode.cpptools' failed: cannot open file:///d%3A/MyStuff/........er/.vscode/c_cpp_properties.json. Detail: File seems to be binary and cannot be opened as text.
I did not see any popup, nothing modal for sure, cannot remember any floating notification as well. I came to discover just looking at the VScode Help>Toggle Developer Tool>Console.
No idea what version was the cpptools - but I think it was on autoupdate so I assume the latest.
Activity
sean-mcmanus commentedon Aug 6, 2025
edolis I see the error appear in a popup. Do you know why you didn't see that popup? Have you disabled those or what version of VS Code are you using?
sean-mcmanus commentedon Aug 6, 2025
edolis I have a fix at #13832 .
edolis commentedon Aug 7, 2025
No idea what version was the cpptools - but I think it was on autoupdate so I assume the latest.
sean-mcmanus commentedon Aug 7, 2025
edolis Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/v1.27.0 .