Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Debug Display of Carbon Events?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug Display of Carbon Events?



Steve,

I get the same error code as you. I thought that maybe LaunchCFMApp had to be pointed at the executable part of the package rather than the package itself, so I tried also:

LaunchCFMApp myApp.app/Contents/MacOS/myApp

For that, the error code was -2857. I grepped all the system header files for 2856 and 2857, and came up short.

Stephen

Stephen Malinowski
InnoSys/Keyspan
email@hidden

On Friday, June 29, 2001, at 12:55 PM, Steve Bennett wrote:

Eric Schlegel wrote:
On Thursday, June 28, 2001, at 11:50 AM, Steve Bennett wrote:
- open myapp

a) Is EventDebug supposed to show Apple Events or Carbon Events?
b) If it shows Carbon Events, how do I get it to show the events for my
app
instead of "open"?

(a) Carbon events
(b) "open" actually launches your app as a new process (I think by
requesting the Finder to launch it), so the setting of EventDebug on the
command line isn't inherited. Instead, you need to launch your app
directly fromthe command line using the LaunchCFMApp utility. Try this:

/System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp
myapp

Thanks for the reply. Unfortunately, I tried this, but it didn't launch the
app. Instead, I got the following error message:

"Launch failed with error code -2856"

Any other ideas?

-->Steve Bennett
_______________________________________________
carbon-development mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/carbon-development


References: 
 >Re: Debug Display of Carbon Events? (From: Steve Bennett <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.