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

前端 未结 2 1927
青春惊慌失措
青春惊慌失措 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 03:58

    The best I found is news.eclipse.tools.cdt: Re: Catching C++ exceptions at point of throw:

    Meanwhile, you can go at the GDB console in eclipse and type "catch throw", like you are did with gdb, 'til we find away to integrate this feature in CDT.

提交回复
热议问题