[Qt-interest] QStackedWidget crash, but only when running in debugger
Colin S. Miller
no-spam-thank-you at csmiller.demon.co.uk
Wed Nov 4 21:15:41 CET 2009
Andre Somers wrote:
> Hi Ian (and others),
<snip>
> The question isn't so much for concrete pointers to what I could be
> doing wrong (but thanks, I checked your suggestion and I am calling
> setupUi where needed), but for how I can debug this issue. I am trying
> to come to terms to the debugger indicating a crash at a point where I
> really can not find anything that looks wrong in the stack trace. It is
> a lack of debugging skills on my side I'm sure... Issues like
> dereferencing 0 pointers and the likes I am able to spot just fine, but
> this looks perfectly OK to my eyes...
Iain,
have you tried running your application under valgrind?
It can detect subtle errors before they cause an actual crash.
HTH,
Colin S. Miller
More information about the Qt-interest-old
mailing list