Is there a limit of lines I can write in AppDelegate.applescript??

Help my friends,

I still suffering with xCode 4.2 and Lion.

Suddenly my app will not build if I write a single line such as:

log “some test sentence…”

I have noticed that if I comment part of my code it will accept new code…

Is there a limit of lines I can have in AppDelegate.applescript under ASOC???

My code has over 5,000 lines…

Another issue:

the code"

say “done”

results in:

assinadorNFeAsoc(11174,0x106e59000) malloc: *** auto malloc[11174]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.

Is this a bug?

Thanks!

I can only tell you that when having this problem in Snow Leopard it has something to do with threading the new way Snow Leopard handles compared with Leopard. On Snow leopard there wasn’t much you could do about it, only work around the error and report the bug to Apple.

AppleScript has always got flakey when scripts get very long. Split it into multiple classes, if you can.

And you can just ignore that error.