How to use the GDB console in Eclipse CDT?

前端 未结 4 779
渐次进展
渐次进展 2020-12-28 14:03

Is there a way how I can access gdb\'s console in Eclipse? I would like to just be able to set breakpoints with the mouse and then use the console for debugging.

4条回答
  •  甜味超标
    2020-12-28 14:43

    Window > Show view > "Debugger Console" is the right way as of Eclipse CDT 4.7.0.

    You can then type certain commands like print on the console and they will be evaluated.

    Other more "active" commands like continue have no effect however.

    Mentioned on this comment.

提交回复
热议问题