This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
c++/1929: Breapoints in class constructors do not work
- From: jrliggett at cox dot net
- To: gdb-gnats at sources dot redhat dot com
- Date: 29 Apr 2005 03:10:14 -0000
- Subject: c++/1929: Breapoints in class constructors do not work
- Reply-to: jrliggett at cox dot net
>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: