• 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: Binding key to "stop debugging" only?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding key to "stop debugging" only?


  • Subject: Re: Binding key to "stop debugging" only?
  • From: email@hidden (Stefan Haller)
  • Date: Thu, 15 Jun 2006 11:58:39 +0200
  • Organization: Ableton

Rick Mann <email@hidden> wrote:

> I want to bind ^K to "Kill target". I don't want it to then change to
> be "debug executable" after the target is dead. Is there a way to do
> this?

I solved this with an AppleScript:

  try
    tell application "System Events"
      tell process "Xcode"
        tell menu bar 1
          tell menu bar item "Debug"
            tell menu 1
              click menu item "Stop Debugger"
            end tell
          end tell
        end tell
      end tell
    end tell
  end try

I use Butler (http://www.petermaurer.de/butler/) to execute this script
when Ctrl-K is hit while Xcode is the active application.


(You must enable access for assistive devices in System preferences for
this to work.)


--
Stefan Haller
Ableton
http://www.ableton.com/
 _______________________________________________
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: 
 >Binding key to "stop debugging" only? (From: Rick Mann <email@hidden>)

  • Prev by Date: What does "Count not find OSO file" means?
  • Next by Date: Debugging problem with XCode 2.3
  • Previous by thread: Re: Binding key to "stop debugging" only?
  • Next by thread: Re: Binding key to "stop debugging" only?
  • Index(es):
    • Date
    • Thread