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

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo