调试的时候遇到了这样的错误提示,断点是感叹号:
Multiple markers at this line
-Breakpoint attribute problem:installation failed
-Line breakpoint :XXX.c[line:91]
先Mark一下,有空再研究。
有知道答案的还望留言解答,不胜感激啊~
错误可能性自我分析:我是直接在当前工作台下,新建一个空的工程,然后将这个工作台下的某个已存在的工程Import进来的,有可能错误在这里。
之前都一直好好的,可以正常运行和debug。
几种解决方法:(来自于搜索结果)
This messages indicates that the source file where you set the breakpoint does not belong to the actual binary you are debugging (btw, gdb will issue this message). This can be the case if you have multiple binaries in your project that share the same source but not all of the files. You can ignore then this warning.
You can activate gdb traces to see the gdb command input/output. Windows->Preferences-C/C++->Debug->gdb->Enable traces.
Does the warning disappear when you actually run your program? Does it stop at the breakpoint set using the GUI?
自己解决方法,将当前工作台下所有与该工程有关的东西挪出去,然后重新建立一个工程,把刚刚的工程import进来,注意import的时候有几个选项都要打上勾,最后就好了。