如何解决VSCode GDB 调试器中未加载映射和集
每当我尝试在调试器中打开设置或映射内容时 - 它开始表现得很奇怪。
尝试打开地图或集合后 - 无法打开并永久加载可扩展值(矢量、地图、堆栈等)。
如果我尝试在地图或设置之前打开矢量 - 一切正常。
包括我的配置和照片
连接类型为 unordered_map<Node *,Edge *> connections;
lanch.json
{
// 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++ - Build and debug active file","type": "cppdbg","request": "launch","program": "${fileDirname}/${fileBasenameNoExtension}","args": [
"<","test2.txt"
],"stopAtEntry": false,"cwd": "${workspaceFolder}","environment": [],"externalConsole": false,"MIMode": "gdb","setupCommands": [
{
"description": "Enable pretty-printing for gdb","text": "-enable-pretty-printing","ignoreFailures": true
}
],"prelaunchTask": "C/C++: g++ build active file","miDebuggerPath": "/usr/bin/gdb"
}
]
} 任务.json
{
"tasks": [
{
"type": "cppbuild","label": "C/C++: g++ build active file","command": "/usr/bin/g++","args": [
"-g","${file}","-o","${fileDirname}/${fileBasenameNoExtension}"
],"options": {
"cwd": "${workspaceFolder}"
},"problemmatcher": [
"$gcc"
],"group": {
"kind": "build","isDefault": true
},"detail": "Task generated by Debugger."
}
],"version": "2.0.0"
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。