GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — "pdb.Pdb(skip=…).set_trace()" should always stop on calling frame · Issue #82987 · python/cpython

"pdb.Pdb(skip=…).set_trace()" should always stop on calling frame #82987

New issue
Copy link
New issue
Copy link
Closed
Closed
"pdb.Pdb(skip=…).set_trace()" should always stop on calling frame#82987
Copy link
Labels
3.7 (EOL)end of lifeend of life3.8 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of lifestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

blueyed
mannequin
opened on Nov 15, 2019
Issue body actions
BPO 38806
Nosy @blueyed
PRs
  • [WIP] gh-82987: bdb: stop_here: always stop at calling frame #17159
  • 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-11-15.00:26:53.876>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = '"pdb.Pdb(skip=\xe2\x80\xa6).set_trace()" should always stop on calling frame'
    updated_at = <Date 2019-11-15.00:29:14.383>
    user = 'https://github.com/blueyed'

    bugs.python.org fields:

    activity = <Date 2019-11-15.00:29:14.383>
    actor = 'blueyed'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-11-15.00:26:53.876>
    creator = 'blueyed'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38806
    keywords = ['patch']
    message_count = 1.0
    messages = ['356638']
    nosy_count = 1.0
    nosy_names = ['blueyed']
    pr_nums = ['17159']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38806'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']

    Linked PRs

    • gh-82987: Stop on calling frame unconditionally for inline breakpoints #130493

    Activity

    1. blueyed commented on Nov 15, 2019

      @blueyed
      blueyedmannequin
      on Nov 15, 2019
      MannequinAuthor
      More actions

      The following will not stop for debugging:

      python3.8 -c 'import pdb; pdb.Pdb(skip=["__main__"]).set_trace()'
      

      The example is contrived, the real case would be to have some "noisy" module being excluded in general, but when you add an explicit "set_trace()" in there it should still stop there, and not on some upper frame.

      This was changed a long time already in 313a751 (Python 2.3), but it is not really clear.

      I will create a PR reverting that part and see how it goes.

    2. blueyed
      added
      3.7 (EOL)end of lifeend of life
      3.8 (EOL)end of lifeend of life
      3.9 (EOL)end of lifeend of life
      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
      on Nov 15, 2019
    3. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    4. gaogaotiantian
      added a commit that references this issue on Mar 4, 2025

      gh-82987: Stop on calling frame unconditionally for inline breakpoints (

      63b6ec3
    5. gaogaotiantian commented on Mar 4, 2025

      @gaogaotiantian
      gaogaotiantian
      on Mar 4, 2025
      Member
      More actions

      Fixed in #130493

    6. gaogaotiantian
      closed this as completedon Mar 4, 2025
    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.7 (EOL)end of lifeend of life3.8 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of lifestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.