How to debug Python program with GUI (Tkinter)?
Diez B. Roggisch
deets at nospam.web.de
Wed Nov 28 10:51:50 CET 2007
> Hi all,
> How to debug Python program with GUI, especially Tkinter? My debug
> 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
You can't - the mainloop is written in C. You need to set breakpoints in the
command-handlers of your interest.
More information about the Python-list