external editors and breakpoints
external editors and breakpoints
- Subject: external editors and breakpoints
- From: Nathaniel Irons <email@hidden>
- Date: Tue, 10 Aug 2004 11:33:55 -0700
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.