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

Chinese appears in the path, the resulting bug. #959

Closed
j-xzy opened this issue Aug 8, 2017 · 1 comment
Closed

Chinese appears in the path, the resulting bug. #959

j-xzy opened this issue Aug 8, 2017 · 1 comment
Labels

Comments

@j-xzy
Copy link

j-xzy commented Aug 8, 2017

image

After press F5....

image

error: can't open "main.cpp",no found ...

This is a duplicate of #602.

OS: ubuntu 16.04 .
vscode: 1.14.2.

// task.json
{
    "version": "0.1.0",
    "command": "g++",
    "isShellCommand": true,
    "showOutput": "always",
    "args": ["-g", "main.cpp"]
}
// launch.json
{
{
  "version": "0.2.0",
  "configurations": [
{
  "name": "(gdb) Launch",
  "type": "cppdbg",
  "request": "launch",
  "program": "${workspaceRoot}/a.out",
  "args": [],
  "stopAtEntry": false,
  "cwd": "${workspaceRoot}",
  "environment": [],
  "externalConsole": true,
  "MIMode": "gdb",
  "preLaunchTask": "g++",
  "setupCommands": [
      {
          "description": "Enable pretty-printing for gdb",
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
      }
  ]
}
  ]
}
}
@j-xzy j-xzy changed the title Breakpoint does not work properly。 Debugger does not work properly。 Aug 9, 2017
@j-xzy j-xzy changed the title Debugger does not work properly。 cannot not open source file when debug. Aug 9, 2017
@j-xzy j-xzy changed the title cannot not open source file when debug. Chinese appears in the path, the resulting bug. Aug 10, 2017
@pieandcakes
Copy link
Contributor

@wu38607 If this is a duplicate of #602, we will track with that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants