Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The version 0.23.0 can not find path, if path have Chinese. #3618

Closed
LMissher opened this issue May 9, 2019 · 2 comments
Closed

The version 0.23.0 can not find path, if path have Chinese. #3618

LMissher opened this issue May 9, 2019 · 2 comments

Comments

@LMissher
Copy link

LMissher commented May 9, 2019

Type: Debugger
If path have Chinese the debugger will wrong, and the version 0.22.1 do not have this error.

Describe the bug

  • OS and Version: Win10
  • VS Code Version: 1.33.1
  • C/C++ Extension Version: 0.23.0
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

To Reproduce
*{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"preLaunchTask": "build",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}.exe", //调试的.exe文件所在位置
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}", //调试将在此目录下进行
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "D:\software\CodeBlocks\MinGW\bin\gdb32.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "LaunchDebug",
"preLaunchTask": "build1",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}.exe", //调试的.exe文件所在位置
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}", //调试将在此目录下进行
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "D:\software\CodeBlocks\MinGW\bin\gdb32.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

.*

@pieandcakes
Copy link
Contributor

@LMissher Thank you for reporting your issue. The root of the problem is with gdb, which you can see in this comment. This is a duplicate of #602 and will need to wait for gdb to fix the problem.

@pieandcakes
Copy link
Contributor

Duplicate of #602

@pieandcakes pieandcakes marked this as a duplicate of #602 May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants