Re: Xcode Events for External Editors
Re: Xcode Events for External Editors
- Subject: Re: Xcode Events for External Editors
- From: Bill Monk <email@hidden>
- Date: Fri, 2 Sep 2005 13:03:49 -0600
how can my app know all Apple events it gets
This won't help in code, but you can at least get a log of received
events.
In Xcode, Get Info on the executable. In the Arguments tab, in the
lower pane, add AEDebugReceives to the environment vars, with a value
of 1.
Close the info panel and click Debug . While gdb is cranking up,
click the Console button in the Debugger window.
Send Apple events to the app. They will be logged in the console, in
AEPrint format. This works regardless of whether a handler is
installed for a particular event.
So it looks like Xcode sends some events, which BBEdit and Text
Wrangler are aware of and send back some result-events (which?).
From the command line, you could attach gdb to BBEdit with both the
AEDebugSends and AEDebugReceives environment variables set. That
should give a log of all AEs in and out.
Technotes 2124 and 2030 will help with this.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden