How to debug Python program with GUI (Tkinter)?

Nir nir1408 at gmail.com
Wed Dec 5 07:12:21 EST 2007


On Nov 28, 11:18 am, Davy <zhushe... at gmail.com> wrote:
> Hi all,
>
> How todebugPython program with GUI, especially Tkinter? Mydebug
> environment is PythonWin.
>
> For example, when I single step in the program, the step will go to
> mainloop() and always loop there. How can I know where the program is
> processed?
>
> Any suggestions are welcome!
> Best regards,
> Davy


Try Winpdb
http://www.digitalpeers.com/pythondebugger/

With Winpdb you can pause (break into) and inspect the state of the
Python script even if it is doing some C code.

Nir




More information about the Python-list mailing list