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.

Author blueyed
Recipients blueyed
Date 2019-11-15.00:26:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573777613.93.0.994248394798.issue38806@roundup.psfhosted.org>
In-reply-to
Content
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 https://github.com/python/cpython/commit/313a7513b0c5771042d850d70782a2448d1cdcb7 (Python 2.3), but it is not really clear.

I will create a PR reverting that part and see how it goes.
History
Date User Action Args
2019-11-15 00:26:53blueyedsetrecipients: + blueyed
2019-11-15 00:26:53blueyedsetmessageid: <1573777613.93.0.994248394798.issue38806@roundup.psfhosted.org>
2019-11-15 00:26:53blueyedlinkissue38806 messages
2019-11-15 00:26:53blueyedcreate