home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18020 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.2 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!psuvax1!rutgers!cbmvax!cbmehq!cbmfra!forgeas
  2. From: forgeas@swinjm.adsp.sub.org (Jean-Michel Forgeas)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: InputHandler debugging (long)
  5. Message-ID: <ZEEds*ua2@swinjm.adsp.sub.org>
  6. Date: 31 Dec 92 10:19:41 GMT
  7. References: <tomme.724365078@Minsk> <lk1stgINNsej@exodus.Eng.Sun.COM>
  8. Reply-To: forgeas@swinjm.adsp.sub.org (Jean-Michel Forgeas)
  9. Organization: The Software Winery
  10. Lines: 18
  11. X-Newsreader: Arn V1.00 alpha rel2
  12.  
  13. In article <lk1stgINNsej@exodus.Eng.Sun.COM>, Chuck McManis writes:
  14.  
  15. > The best way to debug any sort of task (input handlers included) is
  16. > to "create" a debug port.
  17.  
  18. An easy way is to use kprintf() (link with debug.lib from Commodore)
  19. which acts like printf().
  20. To have the prints to appear on a console, you have to start "Sushi"
  21. first (a very useful tool from Commodore too). If you don't start
  22. "Sushi" the prints go to the serial port.
  23. You can use kprintf() from a task.
  24.  
  25. Best regards,
  26.     Jean-Michel
  27. --
  28.  Jean-Michel Forgeas      uunet!cbmvax!cbmehq!cbmfra!swinjm!forgeas
  29.  16170 Bordeville                            __
  30.  France                                      \/
  31.