Why does Eclipse CDT ignore breakpoints?

前端 未结 12 1930
北恋
北恋 2020-12-14 16:52

My problem is that I set some breakpoints in my code and some of them aren\'t working. In some places it complains about \"Unresolved Breakpoint\".

Does anyone have

12条回答
  •  攒了一身酷
    2020-12-14 17:20

    Make sure the breakpoint type is correct. For C/C++ it's a tiny blue dot. If it looks like anything else, chances are the breakpoint type is incorrect. I would try to close the file, right click on it -> open with -> C/C++ Editor. This worked for me.

提交回复
热议问题