[Qt-creator] possible bug in debugger

bd.anon at free.fr bd.anon at free.fr
Sun Nov 23 20:47:54 CET 2008


"Federico Altolaguirre" <federicoaa at gmail.com> :

>Yes, it works if I don't put a breakpoint in the constructor

Easy workaround : Do not put breakpoints in a constructor !

Instead, when you really need to, and for debugging purpose only, copy
the constructor code into a separate non virtual function, then call
that function from the constructor : Now you can debug the new
function and insert breakpoints in it at will.

Bernard




More information about the Qt-creator-old mailing list