Re: NSAppleScript init is really, really slow when attached to gdb?
Re: NSAppleScript init is really, really slow when attached to gdb?
- Subject: Re: NSAppleScript init is really, really slow when attached to gdb?
- From: John Stiles <email@hidden>
- Date: Tue, 13 Dec 2005 10:48:53 -0800
I don't think this is a problem per se. Initializing AppleScript is
causing lots of libraries to get loaded, and GDB is finding all the
functions inside those shared libraries (so you can set breakpoints
on them, etc). That's what debuggers are for. :|
On Dec 13, 2005, at 7:59 AM, Jonathan del Strother wrote:
I'm creating an NSAppleScript object via initWithURL:errorInfo:.
Normally it takes around 0.8 seconds - not exactly speedy, but it's
more-or-less bearable.
If gdb is attached, however, it takes more like 10 seconds, and
sometimes much longer. In the meantime, gdb dumps about 50 lines
of "Reading symbols for shared libraries....." to the console.
I'm sure I haven't seen this problem before - was this introduced
in XCode 2.2? Is anyone else experiencing this? Anything I can do
to prevent the delay?
I've got a trivial example here :
http://www.steelskies.com/download/ASTest.zip
I'd be interested in hearing if anyone else sees the same problem.
Thanks,
Jon _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden