Can I Always debug multiple instances of a same object that is of type thread with GDB?

Posted by yan bellavance on Stack Overflow See other posts from Stack Overflow or by yan bellavance
Published on 2010-05-18T23:26:34Z Indexed on 2010/05/21 5:10 UTC
Read the original article Hit count: 252

Filed under:
|
|
|

program runs fine. When I put a breakpoint a segmentation fault is generated. Is it me or GDB? At run time this never happens and if I instantiate only one object then no problems.

Im using QtCreator on ubuntu x86_64 karmic koala.

UPDATE1:

I have made a small program containing a simplified version of that class. You can download it at:

example program

simply put a breakpoint on the first line of the function called drawChart() and step into to see the segfault happen

UPDATE2: This is another small program but it is practically the same as the mandlebrot example and it is still happening. You can diff it with mandlebrot to see the small difference.

almost the same as mandlebrot example program

© Stack Overflow or respective owner

Related posts about gdb

Related posts about qt