Skip to content

With non-EN display languages: Unable to create 'launch.json' file inside the '.vscode' folder (Cannot read property 'name' of undefined). #4464

@koutoftimer

Description

@koutoftimer

Type: Debugger

Describe the bug

  • OS and Version: Win 10
  • VS Code Version: 1.39.2
  • C/C++ Extension Version: 0.26.0
  • Other extensions you installed (and if the issue persists after disabling them): no other extensions installed

Following Get Started with C++ and Mingw-w64 and stopped at "Configure debug settings" because of an error message "Unable to create 'launch.json' file inside the '.vscode' folder (Cannot read property 'name' of undefined).".

To Reproduce
Steps to reproduce the behavior:

  1. From the Command Palette, type "launch" and then choose Debug: Open launch.json. Next, choose the GDB/LLDB environment.
  2. Get an error mesage "Unable to create 'launch.json' file inside the '.vscode' folder (Cannot read property 'name' of undefined)."

Additional context
I have installed VS Code few minutes ago from "system setup". It is still "fresh" without any extensions, except "C/C++ for Visual Studio Code"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfixedCheck the Milestone for the release in which the fix is or will be available.quick fixregressionA bug that didn't exist in a previous releasetasks/build/debugAn issue relating to tasks.json (e.g. build issues)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions