home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / python / !Reporter / !Help < prev    next >
Text File  |  1996-08-18  |  2KB  |  49 lines

  1. !Help file for !Reporter
  2.  
  3. !Reporter is part of a simple debugging system for wimp programs.
  4.  
  5. !Reporter requires the filer to have seen the !Python application.
  6. It requires the toolbox modules to run.
  7.  
  8. It provides an equivalent to debugging a non-wimp program by sticking in
  9. print statements.
  10.  
  11. The program under investigation sends wimp messages instead of printing,
  12. reporter displays these messages.
  13.  
  14. Functions for sending these messages are provided in the Python tbevent module.
  15. It should be simple enough to send them from programs in other languages.
  16.  
  17. ================================================================================
  18. Operation of Reporter
  19.  
  20. Reporter opens a window automatically if it receives a message from a new
  21. application. It can be set to ignore messages from a particular application
  22. or to ignore second and subsequent repetitions of the same message from that
  23. application's window menu. The message text so far can be cleared or saved.
  24.  
  25. Reporter splits messages at newline characters, and prints other control
  26. characters as '*'.
  27.  
  28. ================================================================================
  29. Generation of reports using tbevent
  30.  
  31.  
  32.  
  33.  
  34. ================================================================================
  35. Format of the message
  36.  
  37. Message_TclReport (0x4cd42)
  38.  
  39.        r1+20 null terminated string  
  40.  
  41. Messages are usually broadcast, so that any operating reporting application
  42. can pick them up.
  43.  
  44. ================================================================================
  45.  
  46. Chris Stretch
  47. ct.stretch@ulst.ac.uk
  48.  
  49.