[Qt-creator] Debugger-resistant routine

Bob Babcock wssddc at nospam.gis.net
Sun Aug 22 20:14:36 CEST 2010


Andre Poenitz <andre.poenitz at mathematik.tu-chemnitz.de> wrote in
news:i4racs$26e$1 at eple.troll.no: 

> Ok. My crystal ball now says there is a 'char' or 'char *' in B that's
> either not initialized yet or contains/points to data outside the 7
> bit range. Is that right?

Your crystal ball is correct.  The empty watch pane seems to be triggered 
by:
  unsigned char tempc;
Initializing tempc to a 7-bit value fixes it; initializing to a value with 
the high-bit set breaks it.  It doesn't matter whether the unsigned keyword 
is present or not.

Thanks for figuring this out.  Debugging with a broken debugger is not fun.



More information about the Qt-creator-old mailing list