1 error in final launch sequence
提示信息:
Error in final launch sequence
Failed to execute MI command:
maintenance set python print-stack off
Error message from debugger back end:
Undefined maintenance set command: “python print-stack off”. Try “help maintenance set”.
Undefined maintenance set command: “python print-stack off”. Try “help maintenance set”.
CDT与gdb不兼容。我的GDB是最新的,需要降低GDB版本,或者在 run–>debug configurations 里点击apply左边的Select other…选择低版本,”stand create process launcher“。
参考博文
2 debug– No source available
运行正常,但调试就出错。No source available for main **函数。先确保你的build的工程是debug,然后再确保project–>properties->c/c++ build->settings里的debugging的level是否为-g /-g3.如果以上两个都OK的,那就查看GDB的版本是不是太低了,GCC如果为4.8以上,则GDB要新版本7.6以上才兼容。