Teek::Debugger Class
Live inspector for Teek applications. Opens a Toplevel window with three tabs: Widgets (tree ` config), Variables (searchable list), and Watches (tracked variable history).
Can also be enabled via the `TEEK_DEBUG+ environment variable.
Inherits: Object
Instance Methods ↑
add_watch(name)
Add a variable watch by name. Registers a Tcl trace so changes are recorded.
initialize(app)
Returns Debugger — a new instance of Debugger
on_widget_created(path, cls)
Called by App when a widget is created
on_widget_destroyed(path)
Called by App when a widget is destroyed
remove_watch(name)
Remove a variable watch by name.
Attributes ↑
interp [R]
Returns the value of attribute interp.