This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/1929: Breapoints in class constructors do not work


>Number:         1929
>Category:       c++
>Synopsis:       Breapoints in class constructors do not work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 29 03:18:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator:     jrliggett@cox.net
>Release:        6.3
>Organization:
>Environment:
Gentoo GNU/Linux 2005.0
>Description:
If a breakpoint is set in a c++ class constructor, the program will not break at that point. 
>How-To-Repeat:
1. Open a c++ program that uses classes with constructors for debugging.
2. Set a breakpoint anywhere in that constructor.
3. Make sure that this class is instanciated so that it uses the constructor in which the breakpoint appears.
4. Run the program where this class will be used. The constructor breakpoint will be ignored.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]