I am trying to debug my application using gdb. When I try to put a breakpoint in a constructor, it says no such function. When I apply breakpoint in the particular line number, the breakpoint gets set. When I run the application, it should stop in that breakpoint before any execution; but it does not do.
So my doubt is, does gdb display when breakpoints are put in the constructor? Please suggest me a way by which I would ensure that all the constructors (objects) are initialized before I run the application. This is actually related to my earlier question that was appropriately answered. GDB will certainly insert a breakpoint in a constructor unless
On Thursday 08 December 2005 4:04 am, anuradha.vembu@wipro.com wrote: that constructor is inlined. When any code is inlined, the code is inserted into the place where the class is instantiated. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9