https://bugs.kde.org/show_bug.cgi?id=363237

            Bug ID: 363237
           Summary: Breakpoints (Breakpoints View) are not updated after
                    removing/adding couple lines of code
           Product: kdevelop
           Version: git master
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: CPP Debugger
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: piotr.mierzwin...@gmail.com
                CC: niko.s...@gmail.com

I have set breakpoint on begin, in the middle and on end of some C/C++ file.
Being in the middle of code I remove/add couple lines of code. Now I check
breakpoints view and I can see that breakpoint(s) placed after removed/added
code still points to the same row number. I click into it and as I expect I'm
moving to wrong line. Whereas breakpoint icon placed on left bar is set next to
correct row. 
In this moment changing breakpoint(s) by clicking in correct place sometimes
might provide to CRASH.


Reproducible: Always

Steps to Reproduce:
1. Open C/C++ file
2. Set couple of breakpoints
3. Delete couple of lines of code placed before any breakpoint(s)

Actual Results:  
All breakpoints placed after removed code now indicate invalid lines.

Expected Results:  
Number of row for all breakpoints placed after removed code should be properly
updated (in Breakpoints view).

KDevelop and KDevplatform cloned at 14.05.2016 from brach 5.0
Bug is related with #353101, but it refers to old KDevelop line (in this case
4.7.1)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to