[Qt-creator] application ends in debug mode on exception

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Sat Aug 28 00:25:36 CEST 2010


On Fri, Aug 27, 2010 at 06:11:00PM +0200, Matthias Pospiech wrote:
> André Pönitz schrieb:
> > On Friday 27 August 2010 17:21:31 ext Matthias Pospiech wrote:
> >   
> >> I get exeptions like this:
> >> terminate called after throwing an instance of 'std::out_of_range'
> >>
> >> what(): vector::_M_range_check
> >>
> >> but I have no chance to debug it, since the debugger ends instead of 
> >> showing the occurence of the problem.
> >>
> >> Can this be changed somehow?
> >
> > Set a breakpoint at function "__cxa_throw"
>
> Where would I find that one?

In the context menu of the "Breakpoints" window. In newer versions
there's even a "Break on 'throw'" item there that essentially does
the same.

Andre'




More information about the Qt-creator-old mailing list