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: pdb - Clickable path to breakpoints
Type: enhancement Stage: patch review
Components: Library (Lib) Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: arturtamborski, michimussato, veky
Priority: normal Keywords: patch

Created on 2020-08-21 08:49 by michimussato, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
Screenshot 2020-06-12 at 08.37.35.png michimussato, 2020-08-21 08:49
Pull Requests
URL Status Linked Edit
PR 22964 open arturtamborski, 2020-10-25 08:24
Messages (2)
msg375747 - (view) Author: Michael Mussato (michimussato) Date: 2020-08-21 08:49
Wouldn't it be helpful if the pdb showed the path to the current breakpoint as a clickable link? For this to work, it seems that the path needs to follow a specific format, like so:
"File "/full/path/to/file.py", line XY"

Currently, it displays the breakpoint like this:
"> /full/path/to/file.py(XY).func()"

This might be very IDE dependent, but i. e. PyCharm interprets the first format as a clickable link and takes you straight to the line of code that contains the breakpoint. Very helpful.
msg375766 - (view) Author: Vedran Čačić (veky) * Date: 2020-08-21 20:28
IDLE has Go to File/Line menu too. I think it would also help there. (Terry, can you confirm?) Not to mention that it would be one thing less to explain to beginners when using pdb.
History
Date User Action Args
2022-04-11 14:59:35adminsetgithub: 85773
2020-10-25 08:24:05arturtamborskisetkeywords: + patch
nosy: + arturtamborski

pull_requests: + pull_request21881
stage: patch review
2020-08-21 20:28:15vekysetnosy: + veky
messages: + msg375766
2020-08-21 08:50:30michimussatosettitle: pdb - Clickabler path to breakpoints -> pdb - Clickable path to breakpoints
2020-08-21 08:49:30michimussatocreate