[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 100078] New: Ability to set breakpoints in C++ template functions when using gdb
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-02-23 12:46:41
Message-ID: 20050223134639.100078.Andreas.Schallenberg () Eurobild ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=100078         
           Summary: Ability to set breakpoints in C++ template functions
                    when using gdb
           Product: kdevelop
           Version: 3.1.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: Andreas.Schallenberg Eurobild com


Version:           3.1.2 (using KDE 3.3.2 Level "a" , SUSE 9.2 UNSUPPORTED)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.11-default

Debugging metjods in template classes using breakpoints
could be more intuitive.

Today setting a breakpoint in a method of a template class
before starting the program to test has no effect. Only
setting breakpoints when the current program execution
is within an concrete class which was created using the
template works. Then the breakpoint is set for that
very concrete class.

When setting breakpoints prior to the debugging session
I'd expect all classes which are made of that template
to "inherit" that breakpoint.

This could be done using the GDB "rbreak" command.

Reference:
"Debugging templates" in gnu.gcc.help, 2005-01-25


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic