From cf7fda6b1c885ef259a60154adb0cec64ceafaba Mon Sep 17 00:00:00 2001 From: "ahrenholz@gmail.com" Date: Tue, 24 Jan 2012 23:44:39 +0000 Subject: [PATCH] added section on debugger --- wiki/TclTkOverview.wiki | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/wiki/TclTkOverview.wiki b/wiki/TclTkOverview.wiki index adbbfb8c..d845f21e 100644 --- a/wiki/TclTkOverview.wiki +++ b/wiki/TclTkOverview.wiki @@ -16,3 +16,17 @@ The CORE GUI uses Tcl/Tk 8.5. This page has a brief guide to the source files. T *`api.tcl`*: the Tcl/Tk implementation of the CORE API, for communicating with the Python CORE daemon back-end. *`cfgparse.tcl`*: imn file loading and saving. + +*`nodecfg.tcl`*: procs for manipulating the Tcl representation of node and link objects. + += Debugger = +Choose _Debugger..._ from the _Tools_ menu for a text entry for executing arbitrary Tcl code. This is a great tool for testing changes you may be making to certain procedures. + +Here are some code snippets you might try in the debugger (cut and paste one at a time): +{{{ +puts $node_list +puts $link_list +getNodeCoords n3 +hideNode n4 +setGuiTitle "hello world" +}}} \ No newline at end of file