[Bug 58419] New: Breakpoints placed to functions rather than source lines

jozef.behran at krs.sk jozef.behran at krs.sk
Tue May 13 11:57:06 UTC 2003


------- 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=58419     
           Summary: Breakpoints placed to functions rather than source lines
           Product: kdevelop
           Version: unspecified
          Platform: Mandrake RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: jozef.behran at krs.sk


Version:           2.1.5 (using KDE 3.1.0)
Installed from:    Mandrake Linux Cooker i586 - Cooker
Compiler:          gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
OS:          Linux (i686) release 2.4.21-0.13mdk

I want to be able to define breakpoints "being at the beginning of function such and such". When I place the breakpoint on the function's beginning by hand, it is defined as "being at line such and such". KDevelop tries to track editing so the breakpoint will not go away when lines are added or removed but if I move the function definition somewhere, the breakpoint locations are lost.

Breakpoints "being at the beginning of function such and such" should during debugger initialization determine at which line the function starts and put breakpoints there. When I edit the source in a way that does not allow normal line breakpoints to survive (for example cutting the function definition from one file and pasting it into another file in the project), these breakpoints can survive, because it is always known, where the function they refers to is placed. 

When the function these breakpoints refers to does not exists, they should be made "pending" (as breakpoints placed into source code compiled without debugging support).




More information about the KDevelop-devel mailing list