Bug 431463 - Breakpoint is duplicating after unset it by clicking into left bar of editor
Summary: Breakpoint is duplicating after unset it by clicking into left bar of editor
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (other bugs)
Version First Reported In: 5.6.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-11 21:03 UTC by Piotr Mierzwinski
Modified: 2021-01-11 21:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2021-01-11 21:03:02 UTC
SUMMARY

I set breakpoint (by left bar) at line N. I copied couple lines of code, let it be 4 and pasted about couple rows (let it be 8) before already set breakpoint, so at lie N-8.
I clicked into this breakpoint to unset it. Disappeared. I clicked again in the same place, and appeared 2 breakpoints set. Second one exactly 4 rows (the same lines I pasted early) above original one. In result I got second not wanted breakpoint.

STEPS TO REPRODUCE
1. Set breakpoint at line N by left bar of editor
2. Copy and paste 4 lines of code, 8 rows above line with breakpoint
3. Click into already set breakpoint
4. Set again breakpoint in the same place, by click again on left bar of editor

OBSERVED RESULT
Original breakpoint was duplicated 4 lines (number of lines of pasted code) above

EXPECTED RESULT
Any duplication of breakpoint couple rows above should not happen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION