Git Product home page Git Product logo

Comments (6)

waruqi avatar waruqi commented on May 27, 2024

vscode的 c++ tools插件装了没有

from xmake-vscode.

imlk0 avatar imlk0 commented on May 27, 2024

vscode的 c++ tools插件装了没有

装了Microsoft自己的的C/C++插件

from xmake-vscode.

waruqi avatar waruqi commented on May 27, 2024

那应该没问题的才对,你是切到debug编译的程序么。不行你就自己加载 xmake-vscode源码 点调试运行跟下吧。。我这边暂时没 linux的 pc 环境,也调不了。

from xmake-vscode.

imlk0 avatar imlk0 commented on May 27, 2024

就很迷,还是算了,先gdb凑合一下

from xmake-vscode.

waruqi avatar waruqi commented on May 27, 2024

看着是cpptools这个插件在你这没找到gdb的路径,具体可以看下这里面的解决方案:microsoft/vscode-cpptools#2971 (comment)

通过which gdb找下你这真实的gdb安装路径,然后通过 vscode的xmake.customDebugConfig配置 重写写内部miDebuggerPath的 gdb 路径,试试

"xmake.customDebugConfig": {
  "miDebuggerPath": "xxxxxx/gdb"  <-- 这里改成你自己的gdb路径
}

from xmake-vscode.

imlk0 avatar imlk0 commented on May 27, 2024

抱歉,是我的锅,才发现我没装gdb,装上就没有这个警告了。
另外,该解决方案中提到的另一个问题,通过设置"externalConsole": false在我的Manjaro上能够解决,现在已经能调试。
现在看来我在提问前应该先考虑从vscode自身找解决方案
非常感谢

from xmake-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.