[TxMt] Help with command to set debug points in XCode.

Allan Odgaard throw-away-1 at macromates.com
Mon Sep 18 17:56:36 UTC 2006

On 18/9/2006, at 17:07, Scott Andrew wrote:

> I have been working on the following script to set breakpoint is  
> XCode. I am not a Ruby expert and I am sure I am doing something  
> wrong. Any help would be appreciated.
> Currenly my script looks like so:
> proect = %x{"#{ENV['TM_BUNDLE_SUPPORT']}/bin/find_xcode_project.rb"}

Try add .chomp to remove the potential newline.

> astring = "osascript -e \'tell application \"TextMate\"
> 	set myName to name of front document

I think you need “set myName to path of front document”.

> Also how do i put { and } into a string so they are printable?

What kind of string would that be? and what seems to be the problem  
with just writing it?

More information about the textmate mailing list