This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: visual margin indicator for breakpoints in IDLE
Type: enhancement Stage: resolved
Components: IDLE Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder: IDLE editor line numbers
View: 17535
Assigned To: Nosy List: kbk, markroseman, roger.serwy, terry.reedy
Priority: normal Keywords:

Created on 2015-08-07 14:16 by markroseman, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg248194 - (view) Author: Mark Roseman (markroseman) * Date: 2015-08-07 14:16
Right now breakpoints can only be set/cleared by using a context menu on a line in the editor. I discovered this entirely by reading through the bug database, as right-click doesn't work on OS X (#24801).

Some other tools use an indicator (e.g. stop sign) in the left margin, which can be toggled on and off by a simple click. This could exist in conjunction with line numbering (#17535)
msg248223 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2015-08-07 20:07
#24801 needs to be fixed so we can depend on right clicking. I think SET and CLEAR should be replace by TOGGLE (#22083). The patch for #17535 already includes marking breakpoints in the margin.  I am opposed to a putting a symbol on every line.  Too noisy and too confusing to beginners for an advanced feature.  There are other things that could be added to a line-number context menu, such as cutting or copying a line without having to drag select it (which is too easy to mess up).
msg248226 - (view) Author: Mark Roseman (markroseman) * Date: 2015-08-07 20:17
oh agree, definitely don't want a symbol on every line. i was already thinking implementation where you'd probably have an object matching the background for hit detection! :-)

but yes, visually nothing there but empty space when there isn't a breakpoint, and a symbol there when the breakpoint is set
msg248234 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2015-08-07 23:10
I believe one of Saimadhav's original patches used a symbol. I suggested color highlighting instead, and it seems to work better.  In any case, debating such details is part of an issue.
History
Date User Action Args
2022-04-11 14:58:19adminsetgithub: 69013
2015-08-07 23:10:33terry.reedysetstatus: open -> closed
superseder: IDLE editor line numbers
messages: + msg248234

resolution: duplicate
stage: resolved
2015-08-07 20:17:54markrosemansetmessages: + msg248226
2015-08-07 20:07:46terry.reedysetmessages: + msg248223
2015-08-07 14:16:34markrosemancreate