How to debug python + curses? [was: RE: Applying winpdb_reborn]

Fabio Zadrozny fabiofz at gmail.com
Sun Jun 6 06:28:27 EDT 2021


You could try other debuggers (possibly doing a remote debug session or
attach to pid).

Eclipse-PyDev: https://www.pydev.org/manual_adv_remote_debugger.html
VsCode-python: https://code.visualstudio.com/docs/python/debugging
PyCharm:
https://www.jetbrains.com/help/pycharm/remote-debugging-with-product.html



Em dom., 30 de mai. de 2021 às 14:43, <pjfarley3 at earthlink.net> escreveu:

> I tried winpdb-reborn some time last year on my Win10 system (python 3.8.3
> at that time), but could not figure out how to use it to debug a python
> script that uses the curses module.
>
> Does anyone here know if winpdb-reborn or any other debugger can support
> 2-window debugging for a python script that uses the curses module?  It
> seems to me that a 2-window debugging session is necessary for a python
> script that uses the curses module because using curses takes over the
> screen from which the script is started, so debugging output and script
> output need to be in separate windows.
>
> I've been forced to use a logger to trace critical values and program flow
> for errors in such a script.  It works, but it is annoyingly slow to debug
> that way.
>
> TIA for any advice or RTFM you can provide.
>
> Peter
> --
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>


More information about the Python-list mailing list