Skip to content

bdb.Bdb.set_trace: should set f_trace_lines = True #80675

Closed

Description

@blueyed
mannequin
BPO 36494
Nosy @blueyed, @iritkatriel
PRs
  • bpo-36494: bdb.Bdb.set_trace: set frame.f_trace_lines = True #12640
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2019-03-31.14:28:51.712>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'bdb.Bdb.set_trace: should set f_trace_lines = True'
    updated_at = <Date 2021-05-21.21:16:24.081>
    user = 'https://github.com/blueyed'

    bugs.python.org fields:

    activity = <Date 2021-05-21.21:16:24.081>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-03-31.14:28:51.712>
    creator = 'blueyed'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36494
    keywords = ['patch']
    message_count = 2.0
    messages = ['339259', '394158']
    nosy_count = 2.0
    nosy_names = ['blueyed', 'iritkatriel']
    pr_nums = ['12640']
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36494'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Activity

    1. blueyed commented on Mar 31, 2019

      blueyedmannequin
      MannequinAuthor

      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 (coveragepy/coveragepy#791).

    2. added
      3.7 (EOL)
      3.8 (EOL)
      3.9 (EOL)
      stdlib
      on Mar 31, 2019
    3. changed the title [-]bdb: should set f_trace_lines = True[/-] [+]bdb.Bdb.set_trace: should set f_trace_lines = True[/+] on Mar 31, 2019
    4. added
      type-bug
      on Mar 31, 2019
    5. added
      3.10 (EOL)
      3.11
      and removed
      3.7 (EOL)
      3.8 (EOL)
      on May 21, 2021
    6. iritkatriel commented on May 21, 2021

      @iritkatriel
      Member

      The patch needs a test.

    7. transferred this issue fromon Apr 10, 2022
    8. nedbat commented on Jun 13, 2022

      @nedbat
      Member

      Coverage.py now sets f_trace_lines=0 when it doesn't want to trace, and I've started getting bug reports that this breaks tests using pdb: coveragepy/coveragepy#1402. Can we move this forward?

    9. iritkatriel commented on Jun 13, 2022

      @iritkatriel
      Member

      @nedbat, I don't think @blueyed plans to finish this. Would you like to take over?

    10. added a commit that references this issue on Nov 4, 2023
    11. gaogaotiantian commented on Feb 5, 2024

      @gaogaotiantian
      Member

      Fixed.

    12. added a commit that references this issue on Feb 11, 2024
    13. added a commit that references this issue on Sep 2, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10 (EOL)3.113.9 (EOL)stdlibtype-bug

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions