home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!cs.utexas.edu!natinst.com!stepan
- From: stepan@natinst.com (Stepan Riha)
- Subject: Re: THINK Debugger Question
- Message-ID: <1992Aug14.153137.873@natinst.com>
- Sender: news@natinst.com
- Nntp-Posting-Host: falcon.natinst.com
- Organization: National Instruments, Austin, TX
- References: <steve.herman-130892173316@hermasj.msfc.nasa.gov.>
- Date: Fri, 14 Aug 1992 15:31:37 GMT
- Lines: 25
-
- In article <steve.herman-130892173316@hermasj.msfc.nasa.gov.> steve.herman%express@freedom.msfc.nasa.gov (Steve Herman) writes:
- >
- > Is there a way to run in the THINK C debugger and break on an Open
- >Document AppleEvent (or any other apple event for that matter)?
- >
- >The copy of my app running under the debugger never gets the apple event.
- >It seems that under the debugger you aren't really running under your
- >application's signature. Is this true?
- >
- >Any ideas?
- >
-
- Yup, it's true. The project "runs" as type "PROJ" and creator "KAHL". That's
- also why "About this Macintosh" shows a project icon for your program. I don't
- know why you get the generic application icon in the menubar, though.
-
- I fixed this "problem" by faking ODOC events during development. I'd have a
- menu item that prompts me with a file dialog and then sends an ODOC event to my
- program with the file I selected. Of course, this menu is removed once I'm
- finished with debugging...
-
- Stepan
- --
- Stepan Riha -- stepan@natinst.com
-
-