Я пытаюсь сделать свой проект в Vscode для работы на Lubuntu. Когда я запускаю отладчик, я получаю: Command 'MakeFile.makeBasedRectory' не найдено
Это мои задачи.{
"version": "2.0.0",
"tasks": [
{
"label": "make",
"type": "shell",
"command": "make",
"args": [],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$gcc"
]
}
]
}
< /code>
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug with Makefile",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/myELF",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "make",
"miDebuggerPath": "/usr/bin/gdb",
"logging": {
"engineLogging": true
}
}
]
}
< /code>
this is the makefile:
all:
gcc -g -m32 -Wall myELF.c -o myELF
clean:
rm -f myELF
< /code>
Any idea why this happens and how to fix it?
I tried changing the title in thee makefile 'all' to 'makeBaseDirectory' thinking it might work as that might be default name the build is looking for in a makefile but that didn't work.
Подробнее здесь: https://stackoverflow.com/questions/796 ... -in-vscode
Отладчик GDB не работает в VSCODE ⇐ Linux
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение