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.Bdb.set_trace: should set f_trace_lines = True
Type: behavior Stage: test needed
Components: Library (Lib) Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: blueyed, iritkatriel
Priority: normal Keywords: patch

Created on 2019-03-31 14:28 by blueyed, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 12640 open blueyed, 2019-03-31 14:32
Messages (2)
msg339259 - (view) Author: daniel hahler (blueyed) * Date: 2019-03-31 14:28
bdb.Bdb.set_trace should set "f_trace_lines = True" on frames explicitly.

Otherwise they might be skipped if something else has set it to False already, e.g. via a suggested change for coverage.py to set this for performance reasons (https://github.com/nedbat/coveragepy/pull/791).
msg394158 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-05-21 21:16
The patch needs a test.
History
Date User Action Args
2022-04-11 14:59:13adminsetgithub: 80675
2021-05-21 21:16:24iritkatrielsetnosy: + iritkatriel
messages: + msg394158
2021-05-21 21:15:57iritkatrielsetstage: patch review -> test needed
versions: + Python 3.10, Python 3.11, - Python 3.7, Python 3.8
2019-03-31 15:09:36blueyedsettype: behavior
components: + Library (Lib)
title: bdb: should set f_trace_lines = True -> bdb.Bdb.set_trace: should set f_trace_lines = True
2019-03-31 14:32:20blueyedsetkeywords: + patch
stage: patch review
pull_requests: + pull_request12572
2019-03-31 14:28:51blueyedcreate