问题描述
我的IDE并没有在断点处停下来。我无法浏览代码。 我不知道如何进行。
我是一名工程专业的学生。
这是launch.json
{
"version": "0.2.0","configurations": [
{
"name": "g++.exe - Build and debug active file","type": "cppdbg","request": "launch","program": "${fileDirname}\\${fileBasenameNoExtension}.exe","args": [
"run","debug",],"stopAtEntry": false,"cwd": "${workspaceFolder}","environment": [],"externalConsole": false,"MIMode": "gdb","miDebuggerPath": "C:\\Program Files (x86)\\Falcon\\MinGW\\bin\\gdb.exe","setupCommands": [
{
"description": "Enable pretty-printing for gdb","text": "-enable-pretty-printing","ignoreFailures": true
}
],"prelaunchTask": "C/C++: g++.exe build active file"
}
]
这是task.json
{
"tasks": [
{
"type": "shell","label": "C/C++: g++.exe build active file","command": "C:\\Program Files (x86)\\Falcon\\MinGW\\bin\\g++.exe","args": [
"-Wall","-Wextra","-g","*.cpp","-o","${fileDirname}\\${fileBasenameNoExtension}.exe"
],"options": {
"cwd": "${workspaceFolder}"
},"problemmatcher": [
"$gcc"
],"group": {
"kind": "build","isDefault": true
}
}
],"version": "2.0.0"
}
我非常感谢你们能提供的帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)