home *** CD-ROM | disk | FTP | other *** search
- Peek - shade demonstration program
-
- This is a simple debugging tool.
-
- The filer needs to have seen the !Tcl directory before it will run
- It needs RISCOS 3.1 or greater.
-
- Select the task you want to monitor using the Tasks entry on the iconbar
- menu. It must be a shade task. If you started the task up after Peek
- it will not be in the list and you can type it in from the Open entry.
- The name should be given as it appears in the "Tasks" list.
-
- A dialog box and menu should appear.
-
- Selecting "Variables" will list the task's global variables and their values.
- Selecting "Arrays" will list its global arrays, keys and values.
-
- If you type a global variable name in the writable icon and select "Trace"
- the value of that variable will be reported when it changes.
-
- If you type a procedure name and select "TraceProc" the value of the
- arguments will be reported when the procedure is called.
-
- If you type a command and select "Execute" the command will be executed
- at the global level and the result returned.
-
- ================================================================================
-
- The program gives a simple example of how to communicate between shade tasks.
-
- It uses the w_send command, suitably protected by catch.
-