Eclipse doesn't stop at breakpoints

前端 未结 30 2378
忘了有多久
忘了有多久 2020-12-13 08:13

Eclipse 3.5.2 is not stopping in breakpoints. It\'s as if the debugger is using an older version of the source file.

Tried the usual refresh, clean all projects, bui

30条回答
  •  没有蜡笔的小新
    2020-12-13 08:27

    I get all breakpoints skipped and marked as warnings when using -O2 in the compiler flags. Switched to -O0 -g in my makefile and breakpoints now work. Hope this helps.

提交回复
热议问题