@encthenet@flyovercountry.social
Post #2513084
2026-05-14 00:27 UTC
Replies (4)
-
@glyph@mastodon.social 2026-05-14 01:41
@encthenet@flyovercountry.social I think you want https://docs.python.org/3/library/traceback.html#traceback.print_stack not print_exc
-
@diazona@techhub.social 2026-05-14 02:01
@encthenet@flyovercountry.social Nice 😀 For the first one, I think the breakpoint() function would do the same thing? #Python
-
@jonny@neuromatch.social 2026-05-14 02:05
@encthenet@flyovercountry.social check out python -m pdb -c continue ./something.py or pdb.post_mortem :)
-
@pelavarre@social.vivaldi.net 2026-05-14 18:28
@encthenet@flyovercountry.social > go to Python debugging aids Yes please let us push out the word Have you next thought about getting more people to adopt Python's breakpoint() pass pdb.pm() ? 2018 Python 3.7 gave us breakpoint, and I've got people to call it, and more lately you don't even have to add the Pass statement afterwards to make it work well The Post-Mortem Debugger at pdb.pm() I have trouble getting people to appreciate I dunno how to deploy it well myself in less than like 50 Lines of patch, as attached => https://github.com/pelavarre/pylitfun/blob/main/bin/litpython.py#L530