Я пытаюсь сделать свой проект в 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
1750604180
Anonymous
Я пытаюсь сделать свой проект в 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.
Подробнее здесь: [url]https://stackoverflow.com/questions/79675033/gdb-debugger-not-running-in-vscode[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия