On segunda-feira, 8 de julho de 2013 15.05.30, qt.dan...@free.fr wrote:
> I know I have to debug my apps. That's what I am trying to do here.
> 
> What I do not know is how to set up a breakpoint on a std exception I
> did not raise, not knowing where it was raised.
> 
> I am using gdb under QtCreator 2.6.1.

I think new gdbs can break on exceptions thrown, and Creator can make use of 
that setting. Check the Debugger options.

If you can't find the option, put a breakpoint in the function __cxa_throw. 
It's the function called for throwing an exception. That works on all 
applications built with GCC.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to