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

jak nospam at please.ty
Tue Jun 1 03:33:51 EDT 2021


Il 31/05/2021 02:36, Dennis Lee Bieber ha scritto:
> On Mon, 31 May 2021 08:07:21 +1000, Cameron Simpson <cs at cskk.id.au>
> declaimed the following:
> 
> 
>> Open another terminal, note its terminal device with the "tty" command.
>> Start your programme like this:
>>
>>     python ...... 2>/dev/tty-of-the-other-termina
>>
> 
> 	The OP specified Win10, so the above is dead from the start.
> 
> 

OP can try this way on win10: write the debug information in a log file
and, from another console, open the same log file with an editor that
knows how to check the active status of the file (eg: notepad++), which
can automatically update the changes (you can remove the notification
for this action from the tab preferences).

cheers


More information about the Python-list mailing list