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: bdb and pdb: Add watchpoint function
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: barry, louielu, xdegaye
Priority: normal Keywords:

Created on 2017-05-22 12:09 by louielu, last changed 2022-04-11 14:58 by admin.

Pull Requests
URL Status Linked Edit
PR 1756 open louielu, 2017-05-23 06:03
Messages (4)
msg294140 - (view) Author: Louie Lu (louielu) * Date: 2017-05-22 12:09
Trying to add watchpoint function to bdb and pdb.

It's goal is to do as gdb for three different watch: watch, rwatch and a watch.

watch: when expr is written by program and value has changed, it will break
rwatch: when expr is read by program, it will break
awatch: when expr is read or write by program, it will break
msg294230 - (view) Author: Louie Lu (louielu) * Date: 2017-05-23 06:06
watch and awatch will detect value change and breakout, rwatch using dis module to get the file bytecode, with the lineno it can detect current line is load (read) or not.
msg296872 - (view) Author: Louie Lu (louielu) * Date: 2017-06-26 10:38
@xdegaye, would you like to review this PR? thanks.
msg297167 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2017-06-28 09:37
See the related issue 5654.
History
Date User Action Args
2022-04-11 14:58:46adminsetgithub: 74614
2017-06-28 09:37:10xdegayesetmessages: + msg297167
2017-06-26 10:38:57louielusetnosy: + xdegaye
messages: + msg296872
2017-06-17 23:15:16barrysetnosy: + barry
2017-05-23 06:06:12louielusetmessages: + msg294230
2017-05-23 06:03:51louielusetpull_requests: + pull_request1841
2017-05-22 15:25:24louielusettype: enhancement
2017-05-22 15:20:38rhettingersettitle: bdb: Add watchpoint function -> bdb and pdb: Add watchpoint function
2017-05-22 12:09:45louielucreate