remove pretty-printing in launch.json文章来源地址https://www.toymoban.com/news/detail-634818.html
{
// 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": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "/home/prometheus/glibc-2.35/build/elf/ld.so",
"args": ["/home/prometheus/shrinkwrap/shrinkwrap/emacs_zeta"],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}
referenced:
https://sourceware.org/bugzilla/show_bug.cgi?id=28980
文章来源:https://www.toymoban.com/news/detail-634818.html
到了这里,关于vscode debug c program but cannt stop at breakpoint的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!