Re: BreakIntoXcode() - Programmatically break into Xcode
Re: BreakIntoXcode() - Programmatically break into Xcode
- Subject: Re: BreakIntoXcode() - Programmatically break into Xcode
- From: Chris Espinosa <email@hidden>
- Date: Mon, 3 May 2010 08:29:31 -0700
On May 3, 2010, at 2:55 AM, Lars C. Hassing wrote: I would like to have a function like BreakIntoGDB() by Timac: http://blog.timac.org/?p=190 but for breaking into Xcode. I should probably specify the path of any relevant MyProg.xcodeproj as an argument.
I checked Xcode's dictionary in Script Editor, but didn't find "attach".
The bigger problem would be deducing what Xcode project corresponds to the executable.
The script you link to will work fine if Xcode launched the executable; calling Debugger() will stop the app in Xcode's debugger, presuming the project is already open.
I don't think there's a scripting interface for the Attach To... command in Xcode, though you might be able to fake it with UI Scripting.
Chris |
_______________________________________________
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