Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode debug command



Hello,

I'm a long time programmer, but new to AppleScript. I'm still not used to all the "quirks" of AppleScript, so please forgive me if the answer to the next question is obvious.

I'm writing a very simple script that tells Xcode to start debugging the active project. Not hard:

tell application "Xcode"
	debug project of active project document
end tell

When I execute this, Xcode will actually do the thing it is asked. However, Script Editor will hang for about a minute then give me the following error:


Xcode got an error: AppleEvent timed out.

I suspect that Script Editor is expecting something back from the debug command. Is there a work around?


My ultimate goal is to get this to work inside CarbonEmacs. Currently, when I execute above script in Emacs, hell breaks loose and I have to force quit Xcode.

- Andy Kim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden


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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.