jonathanslenders / ptpdb

prompt_toolkit/ptpython pdb frontend
183 stars 20 forks source link

ptpdb.post_mortem() missing #14

Open ghost opened 8 years ago

ghost commented 8 years ago

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:

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

ghost commented 7 years ago

is this still under active development :grey_question:

jonathanslenders commented 7 years ago

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

kurtbrose commented 7 years ago

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!

jonathanslenders commented 7 years ago

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.