vscode 在调试程序,查看反汇编时,查看内存数据时报错<error reading variable>
需要在调试控制台输入:-exec set charset UTF-8
或者在launch.json配置文件
setupCommands列表中
添加
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "set charset UTF-8",
"ignoreFailures": true
}
]
