home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18748 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!agate!apple!mumbo.apple.com!gallant.apple.com!kip2-36.apple.com!user
  3. From: jpugh@apple.com (Jon Pugh)
  4. Subject: Re: Simulating odoc event from THINK Pascal?
  5. Sender: news@gallant.apple.com
  6. Message-ID: <jpugh-201192223815@kip2-36.apple.com>
  7. Date: Sat, 21 Nov 1992 06:41:41 GMT
  8. References: <goodill_eric-201192084213@ericg.cpd.tandem.com>
  9. Organization: Apple Computer, Inc.
  10. Followup-To: comp.sys.mac.programmer
  11. Lines: 20
  12.  
  13. In article <goodill_eric-201192084213@ericg.cpd.tandem.com>,
  14. goodill_eric@tandem.com (Eric Goodill) wrote:
  15. > Has anybody come up with a relatively easy way to simulate odoc events from
  16. > within THINK Pascal so that I can use the source level debugger while
  17. > debugging my Apple event handlers?  As it stands, I've just been using
  18. > Macsbug which works just fine but is a bit tedious.
  19.  
  20. Add a **** FREF to THINK Pascal's BNDL if it doesn't already have one.  I
  21. forget if I added one myself or if it came with one.  Rebuild your desktop
  22. if you do add it.
  23.  
  24. Now you can drag and drop things onto THINK Pascal.
  25.  
  26. Run your program.  Drag something onto THINK Pascal.  Your program will get
  27. the 'odoc' event.  Debug as usual.
  28.  
  29. Simple enough for you?
  30.  
  31. Jon
  32.