Fehler beim Debuggen mit GDB -Debugger auf VS -Code mit Windows 10 und Mingw komplizierterC++

Programme in C++. Entwicklerforum
Anonymous
 Fehler beim Debuggen mit GDB -Debugger auf VS -Code mit Windows 10 und Mingw komplizierter

Post by Anonymous »

Ich folgte der Dokumentation auf https://code.visualstudio.com/docs/cpp/config-mingw, um meine C ++-Entwicklungsumgebung auf dem VS-Code einzurichten. terminal. < /p>

Code: Select all

C:\Users\Ayon\c++\helloworld> cmd /C "c:\Users\Ayon\.vscode\extensions\ms-vscode.cpptools-0.28.1\debugAdapters\bin\WindowsDebugLauncher.exe --stdin=Microsoft-MIEngine-In-shlwrnf5.x12 --stdout=Microsoft-MIEngine-Out-vg12hskh.c52 --stderr=Microsoft-MIEngine-Error-nrcvh0zz.0u0 --pid=Microsoft-MIEngine-Pid-m1nmxyvs.qk2 --dbgExe=C:\MinGW\bin\gdb.exe --interpreter=mi "
'cmd' is not recognized as an internal or external command,
operable program or batch file.
< /code>

Ich bin neugierig, wie die "cmd /" in der Ausgabe entstanden ist. Bitte helfen Sie mir, diesen Fehler zu beheben. < /P>

Vielen Dank im Voraus.{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "g++.exe - Build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "C:\\MinGW\\bin\\gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "g++.exe build active file"
}
]
}

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post