FaqCplusPlusPackCppBpIgnored
Breakpoints in some of my C++ constructors are ignored. Is this a known problem?
Yes. This is actually a gdb problem which has been fix in gdb 6.8.
As a workaround, try adding a function call or I/O to your constructor. In several (but not all) cases this made the breakpoint work.
Applies to: All versions of gdb prior to 6.8.
Platforms: all
