Eclipse-CDT: How do I configure the debugger to stop on an exception?

前端 未结 2 1929
青春惊慌失措
青春惊慌失措 2021-02-05 03:45

This might be a GDB question.. but I\'d like to run my app in the debugger and have the debugger break when an exception is thrown, so I can see where the code is and what its d

2条回答
  •  清歌不尽
    2021-02-05 04:14

    You can get the equivalent of gdb catchpoints in eclipse by:

    From breakpoints view, invoke action(small triangle pointing downwards near the maximize button) -> Add Event Breakpoint (C/C++) -> Exception Thrown.

提交回复
热议问题