ptpdb icon indicating copy to clipboard operation
ptpdb copied to clipboard

ptpdb.post_mortem() missing

Open ghost opened this issue 9 years ago • 4 comments

PTPDB is missing ptpdb.post_mortem( exception_traceback ). PDB and third party iPDB has a post_mortem() method, not found on PTPDB.

I guess you can steal the solution from ipdb source since is also third party, works similar to ptpdb.

Real life usage example:

  • https://gist.github.com/juancarlospaco/539b2fba6c5152c317c8

┻━┻ ︵ \ (°□°)/ ︵ ┻━┻

ghost avatar Jan 17 '16 18:01 ghost

is this still under active development :grey_question:

ghost avatar Nov 20 '16 23:11 ghost

Hi @juancarlospaco,

Thanks for creating this issue! There is indeed not much development on this, but I try to make sure it at least works with the latest prompt_toolkit. Right now, my focus is mainly on ptpython and prompt_toolkit, which already takes most of my free time. However, contributions are always welcome, and bugs will be fixed.

Jonathan

jonathanslenders avatar Nov 21 '16 16:11 jonathanslenders

I've been integrating ptpython to embed shells into distributable builds (e.g. my-tool shell pops you a ptpython prompt).

I also pop pdb.post_mortem() when debug environment variables are set and would love to have that sweet ptpython interface there as well.

Love the library, keep up the good work!

kurtbrose avatar Jun 12 '17 20:06 kurtbrose

Thanks. ptpdb is definitely not dead. Right now, my focus is mainly on a refactoring of prompt_toolkit (v2.0). But when that's done, I can focus again on ptpdb and other stuff.

jonathanslenders avatar Jun 13 '17 07:06 jonathanslenders