Message356638
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. |
|
Date |
User |
Action |
Args |
2019-11-15 00:26:53 | blueyed | set | recipients:
+ blueyed |
2019-11-15 00:26:53 | blueyed | set | messageid: <1573777613.93.0.994248394798.issue38806@roundup.psfhosted.org> |
2019-11-15 00:26:53 | blueyed | link | issue38806 messages |
2019-11-15 00:26:53 | blueyed | create | |
|