Skip to content

corrupt json config files cause cathastrophic chain failure #13829

@edolis

Description

@edolis

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.

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions