Bug 436395 - python breakpoint conditions are not applied
Summary: python breakpoint conditions are not applied
Status: REPORTED
Alias: None
Product: kdev-python
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: 5.6.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Sven Brauch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-30 08:35 UTC by Gaël de Chalendar (aka Kleag)
Modified: 2021-04-30 08:35 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 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