Skip to content

Can't modify C++ string type variable in local window #100483

@Lili28

Description

@Lili28
  • VSCode Version: 1.46.0.0
  • OS Version: Ubuntu Server 18.04 LTS
  • Cpptools: v0.28.3

Steps to Reproduce:
1.Open tests folder in attachments directly.
a.zip
2.Set a breakpoint on line 20 in a.cpp file.
3.Press F5 to start debugging.
4.When hitting the breakpoint, modify the value of the String type variable in the Local window and press Enter.

Excepted:
It can modify normally.

Actual:
It pop up a error message:
Capture

Investigation:
You can successfully modify int type variables in the local window.

Does this issue occur when all extensions are disabled?: Yes/No

Metadata

Metadata

Assignees

No one assigned

    Labels

    *caused-by-extensionIssue identified to be caused by an extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions