home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
p
/
python
/
!Reporter
/
!Help
< prev
next >
Wrap
Text File
|
1996-08-18
|
2KB
|
49 lines
!Help file for !Reporter
!Reporter is part of a simple debugging system for wimp programs.
!Reporter requires the filer to have seen the !Python application.
It requires the toolbox modules to run.
It provides an equivalent to debugging a non-wimp program by sticking in
print statements.
The program under investigation sends wimp messages instead of printing,
reporter displays these messages.
Functions for sending these messages are provided in the Python tbevent module.
It should be simple enough to send them from programs in other languages.
================================================================================
Operation of Reporter
Reporter opens a window automatically if it receives a message from a new
application. It can be set to ignore messages from a particular application
or to ignore second and subsequent repetitions of the same message from that
application's window menu. The message text so far can be cleared or saved.
Reporter splits messages at newline characters, and prints other control
characters as '*'.
================================================================================
Generation of reports using tbevent
================================================================================
Format of the message
Message_TclReport (0x4cd42)
r1+20 null terminated string
Messages are usually broadcast, so that any operating reporting application
can pick them up.
================================================================================
Chris Stretch
ct.stretch@ulst.ac.uk