Skip to content

display utf-8 characters on debug watch panel #918

@weinand

Description

@weinand

From @KuddLim on July 26, 2017 8:27

  • VSCode #Version: 1.14.2
  • OS Version: LMDE 2 Betsy x86_64

Steps to Reproduce:

  1. Make a simple c++ project
  2. declare std::string (or std::wstring) and put some CJK string to it.
  3. Launch gdb session
  4. Watch variable

Reproduces without extensions: Yes

in vscode, variables are represented in numerics
vscode

in gdb, variable are represented correctly,
gdb

Here's the content of ~/.gdbinit
set target-wide-charset UCS-4

Copied from original issue: microsoft/vscode#31442

Metadata

Metadata

Assignees

No one assigned

    Labels

    debuggerhelp wantedCan be fixed in the public (open source) repo.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions