Comments (6)
vscode的 c++ tools插件装了没有
from xmake-vscode.
vscode的 c++ tools插件装了没有
装了Microsoft自己的的C/C++插件
from xmake-vscode.
那应该没问题的才对,你是切到debug编译的程序么。不行你就自己加载 xmake-vscode源码 点调试运行跟下吧。。我这边暂时没 linux的 pc 环境,也调不了。
from xmake-vscode.
就很迷,还是算了,先gdb凑合一下
from xmake-vscode.
看着是cpptools这个插件在你这没找到gdb的路径,具体可以看下这里面的解决方案:microsoft/vscode-cpptools#2971 (comment)
通过which gdb找下你这真实的gdb安装路径,然后通过 vscode的xmake.customDebugConfig配置 重写写内部miDebuggerPath的 gdb 路径,试试
"xmake.customDebugConfig": {
"miDebuggerPath": "xxxxxx/gdb" <-- 这里改成你自己的gdb路径
}
from xmake-vscode.
抱歉,是我的锅,才发现我没装gdb,装上就没有这个警告了。
另外,该解决方案中提到的另一个问题,通过设置"externalConsole": false
在我的Manjaro上能够解决,现在已经能调试。
现在看来我在提问前应该先考虑从vscode自身找解决方案
非常感谢
from xmake-vscode.
Related Issues (20)
- 点击状态栏build,会触发大量重新编译(可能与msvc的runtime有关) HOT 2
- vscode下的xmake插件调试CPP工程出现bug HOT 2
- Introduce setting to hide certain status bar options
- 通过vscode的xmake插件debug运行程序时,未尊重xmake.lua 中 set_runargs 设置的命令行参数 HOT 2
- 在容器内使用(或者vscode以root权限运行时), xmake-vscode 会提示xmake not found! HOT 4
- 工程脚本域调用 print 会导致无法调试 HOT 4
- 当workspace里面有多个目录的时候,不能够自动检测目录,打开xmake文件也不能自动激活 HOT 2
- Make lsp backend configurable HOT 2
- 设置xmake build目录后调整不回去默认的 HOT 2
- vscode 调试配置launch.json无法添加visualizerFile属性 HOT 6
- C++设置xmake build目录重启虚拟机后编译可能检测不到代码变化 HOT 8
- cuda 项目生成的compile_commands貌似无法正常提示 HOT 6
- `project directory (/path/dir) is not empty!` error when using VSCode and auto generated `.vscode` directory. HOT 2
- 记住上次关闭时选中的target HOT 1
- 将生成"compile_commands.json"文件的默认地址从".vscode"文件夹移动到"build"文件夹 HOT 3
- 无法正常生成compile_commands,以及“Error:there is no registered task type 'cppbuild'” HOT 1
- option() to be visible in xmake vscode extension HOT 1
- "stopAtEntry" option from launch.json is not respected HOT 3
- VSCode 插件不生效 HOT 2
- Target里on_load打印消息,会导致run或debug无法运行 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake-vscode.