• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: BreakIntoXcode() - Programmatically break into Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >BreakIntoXcode() - Programmatically break into Xcode (From: "Lars C. Hassing" <email@hidden>)

  • Prev by Date: BreakIntoXcode() - Programmatically break into Xcode
  • Next by Date: Re: unknown required load command 0x80000022 once again
  • Previous by thread: BreakIntoXcode() - Programmatically break into Xcode
  • Next by thread: Re: unknown required load command 0x80000022 once again
  • Index(es):
    • Date
    • Thread