• 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: external editors and breakpoints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: external editors and breakpoints


  • Subject: Re: external editors and breakpoints
  • From: Scott Tooker <email@hidden>
  • Date: Wed, 11 Aug 2004 17:10:00 -0700

So it sounds like we were overzealous in fixing problems where a file was showing up in a separate editor window in Xcode instead of an external editor. To be clear, you can't get a file to show up in the attached editor when single-clicking?

Please file a bug so we can track this down.

Scott

On Aug 10, 2004, at 11:33 AM, Nathaniel Irons wrote:

I used BBEdit as my external editor in 1.2, while also using Xcode's
editor in nominally read-only mode to manage breakpoints. This worked
well.

1.5 seems quite a bit more totalitarian about making sure that I don't
open or view a document in Xcode's editor. Yesterday, I found I could at
least drag-and-drop a file from the source list to the editor window,
but now that's mysteriously ceased to work -- the drag outline bounces
back to the source list.


I settled on the goofy workaround of temporarily disabling external
editing, then sequentially selecting every source file in Xcode, storing
them alphabetically in the "File History" popup. I presume I'm missing
some more graceful means of forcing Xcode to display a document, and I
would be grateful if someone would clue me in.



On a related point, am I correct that there is still no way to create a
breakpoint from the scripting interface? Though I see in the 1.5 release
notes that, "Breakpoints now properly return a text bookmark", I haven't
been able to successfully set a text bookmark in a script.


   get text bookmark of breakpoint 1 of project "foo"
      returns 'bookmark "filename.m:365" of project "foo"'

   make text bookmark "filename.m:366" of project "foo"
      results in NSCannotCreateScriptCommand

Both of these return nothing:

get line range of text bookmark of breakpoint 1 of project "foo"
get character range of text bookmark of breakpoint 1 of project "foo"


Thanks for any advice,

-nat
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: external editors and breakpoints
      • From: Nathaniel Irons <email@hidden>
References: 
 >external editors and breakpoints (From: Nathaniel Irons <email@hidden>)

  • Prev by Date: Re: XCode 1.5 - Subversion - NIB files are built with .svn directory copied
  • Next by Date: Re: XCode 1.5 not showing source listing in debugger
  • Previous by thread: external editors and breakpoints
  • Next by thread: Re: external editors and breakpoints
  • Index(es):
    • Date
    • Thread