SIGN IN SIGN UP

[3.12] gh-71592: Add ability to trace Tcl commands executed by Tkinter (GH-118291) (GH-118662)

This is an experimental feature, for internal use.

Setting tkinter._debug = True before creating the root window enables
printing every executed Tcl command (or a Tcl command equivalent to the
used Tcl C API).

This will help to convert a Tkinter example into Tcl script to check
whether the issue is caused by Tkinter or exists in the underlying Tcl/Tk
library.
(cherry picked from commit 1ff626ebda465931ff3e4922e8e87d586eb6244c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
S
Serhiy Storchaka committed
bee1c322c0a426b86ba5ed02a71b6c0652e5fac3
Parent: f6c2b04
Committed by GitHub <noreply@github.com> on 5/6/2024, 7:26:08 PM