Bug 436395

Summary: python breakpoint conditions are not applied
Product: [Developer tools] kdev-python Reporter: Gaël de Chalendar (aka Kleag) <kleagg>
Component: generalAssignee: Sven Brauch <mail>
Status: REPORTED ---    
Severity: normal CC: mail
Priority: NOR    
Version First Reported In: 5.6.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gaël de Chalendar (aka Kleag) 2021-04-30 08:35:51 UTC
SUMMARY
One cannot break on a given point using a condition.

STEPS TO REPRODUCE
1. Start a python debugging session on the following program
  1: for i in range(10):
  2:     print(i)
2. Put a breakpoint on line 2, edit and validate the condition with: i==5
3. Press Continue

OBSERVED RESULT
The program stops on line 2 for each value of i.

EXPECTED RESULT
The program should stop only when i is 5.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-72-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8650U CPU @ 1.90GHz
Memory: 31.2 Gio of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620