Davy wrote: > 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 > processed?
You can't - the mainloop is written in C. You need to set breakpoints in the command-handlers of your interest. Diezv -- http://mail.python.org/mailman/listinfo/python-list