Re: more tell/scoping problems
Re: more tell/scoping problems
- Subject: Re: more tell/scoping problems
- From: tom wible <email@hidden>
- Date: Sat, 26 Jun 2010 07:57:32 -0400
On Jun 24, 2010, at 9:34 PM, email@hidden wrote:
I'm not sure of the value of using a script object in this case.
I'd just use a record, but to each his own.
i overload the parent's methods: the tvpiProgram script object reads
the program.tvpi file, while the etvProgram queries eyetv.
what's aggravatin' is that it works perfectly when run from the
script editor:
property tvpi2crontabP : "/DVR/scripts/tvpi2crontab.app"
property tvpi2crontab : (load script POSIX file tvpi2crontabP)
tvpi2crontab's init()
tvpi2crontab's getEtvList()
but tvpi2crontab running as a stay-open app hangs in getEtvList
()...attached is a sampleAnalysis of sampling pid 16879 every 10.000000 milliseconds
Call graph:
232 Thread_0f0f
232 0x2c14
232 0x2d70
232 0x35a0
232 CallComponent
232 AppletComponent
232 OSAAppletExecute
232 Applet::Main()
232 Applet::ProcessEvent(unsigned long)
232 Applet::HandleAppleEvent(EventRecord*)
232 AEProcessAppleEvent
232 aeProcessAppleEvent
232 dispatchEventAndSendReply(AEDesc const*, AEDesc*)
232 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*)
232 ScriptEventHandler(AEDesc const*, AEDesc*, long)
232 Applet::DoScriptEvent(AEDesc const*, AEDesc*)
232 Applet::RunScript(AEDesc const*, AEDesc*)
232 OSAExecuteEvent
232 CallComponent
232 AppleScriptComponent
232 CallComponentFunctionCommon
232 ASExecuteEvent(AEDesc const*, unsigned long, long, unsigned long*)
232 UASExecute1()
232 UASSetData(unsigned char, unsigned char)
232 UASDispatch_SetProperty(TUASClassIndex, TUASValue*, TUASIdentifier*, TUASValue*, unsigned char&, TUASApplication*, unsigned char)
232 UASActor_SetProperty(TUASClassIndex, TUASActor*, TUASIdentifier*, TUASValue*, unsigned char&, TUASApplication*, unsigned char)
232 UASGetDataForTarget(unsigned char)
232 UASClone(unsigned char)
232 UASActor_Clone1(unsigned char, TGCStack&)
232 UASActor_Clone1(unsigned char, TGCStack&)
232 UASEnvironment_Clone(unsigned char, TGCStack&)
232 UASVector_Clone1(unsigned char, TGCStack&)
232 UASActor_Clone1(unsigned char, TGCStack&)
232 UASActor_Clone1(unsigned char, TGCStack&)
232 UASActor_Clone1(unsigned char, TGCStack&)
232 UASEnvironment_Clone(unsigned char, TGCStack&)
232 UASActor_Clone1(unsigned char, TGCStack&)
232 UASActor_Clone1(unsigned char, TGCStack&)
232 UASActor_Clone1(unsigned char, TGCStack&)
232 UASEnvironment_Clone(unsigned char, TGCStack&)
230 UASVector_Clone1(unsigned char, TGCStack&)
230 UASActor_Clone1(unsigned char, TGCStack&)
230 UASActor_Clone1(unsigned char, TGCStack&)
230 UASActor_Clone1(unsigned char, TGCStack&)
229 UASEnvironment_Clone(unsigned char, TGCStack&)
118 UASVector_Clone1(unsigned char, TGCStack&)
118 UASActor_Clone1(unsigned char, TGCStack&)
117 UASActor_Clone1(unsigned char, TGCStack&)
116 UASActor_Clone1(unsigned char, TGCStack&)
116 UASEnvironment_Clone(unsigned char, TGCStack&)
84 UASActor_Clone1(unsigned char, TGCStack&)
48 UASEnvironment_Clone(unsigned char, TGCStack&)
47 UASVector_Clone1(unsigned char, TGCStack&)
25 UASRecord_Clone1(unsigned char, TGCStack&)
25 TGCStack::ElementPosition(void*)
25 TGCStack::ElementPosition(void*)
22 UASClone1(unsigned char, TGCStack&)
22 TGCStack::ElementPosition(void*)
22 TGCStack::ElementPosition(void*)
1 UASClone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
34 UASActor_Clone1(unsigned char, TGCStack&)
34 UASActor_Clone1(unsigned char, TGCStack&)
33 UASEnvironment_Clone(unsigned char, TGCStack&)
31 UASActor_Clone1(unsigned char, TGCStack&)
31 UASEnvironment_Clone(unsigned char, TGCStack&)
31 UASVector_Clone1(unsigned char, TGCStack&)
18 UASRecord_Clone1(unsigned char, TGCStack&)
17 TGCStack::ElementPosition(void*)
17 TGCStack::ElementPosition(void*)
1 UASRecord_Clone1(unsigned char, TGCStack&)
13 UASClone1(unsigned char, TGCStack&)
13 TGCStack::ElementPosition(void*)
13 TGCStack::ElementPosition(void*)
2 UASClone1(unsigned char, TGCStack&)
2 TGCStack::ElementPosition(void*)
2 TGCStack::ElementPosition(void*)
1 UASClone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
2 UASClone1(unsigned char, TGCStack&)
2 TGCStack::ElementPosition(void*)
2 TGCStack::ElementPosition(void*)
27 UASVector_Clone1(unsigned char, TGCStack&)
27 UASActor_Clone1(unsigned char, TGCStack&)
27 UASActor_Clone1(unsigned char, TGCStack&)
27 UASActor_Clone1(unsigned char, TGCStack&)
27 UASEnvironment_Clone(unsigned char, TGCStack&)
24 UASActor_Clone1(unsigned char, TGCStack&)
24 UASEnvironment_Clone(unsigned char, TGCStack&)
23 UASVector_Clone1(unsigned char, TGCStack&)
15 UASRecord_Clone1(unsigned char, TGCStack&)
15 TGCStack::ElementPosition(void*)
15 TGCStack::ElementPosition(void*)
8 UASClone1(unsigned char, TGCStack&)
8 TGCStack::ElementPosition(void*)
8 TGCStack::ElementPosition(void*)
1 UASClone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
3 UASClone1(unsigned char, TGCStack&)
3 TGCStack::ElementPosition(void*)
3 TGCStack::ElementPosition(void*)
5 UASClone1(unsigned char, TGCStack&)
5 TGCStack::ElementPosition(void*)
5 TGCStack::ElementPosition(void*)
1 UASClone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
1 UASClone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
110 UASActor_Clone1(unsigned char, TGCStack&)
81 UASActor_Clone1(unsigned char, TGCStack&)
81 UASActor_Clone1(unsigned char, TGCStack&)
81 UASEnvironment_Clone(unsigned char, TGCStack&)
55 UASActor_Clone1(unsigned char, TGCStack&)
34 UASEnvironment_Clone(unsigned char, TGCStack&)
34 UASVector_Clone1(unsigned char, TGCStack&)
26 UASRecord_Clone1(unsigned char, TGCStack&)
24 TGCStack::ElementPosition(void*)
24 TGCStack::ElementPosition(void*)
1 GCMakeBinding()
1 GCMakeBinding()
1 UASRecord_Clone1(unsigned char, TGCStack&)
8 UASClone1(unsigned char, TGCStack&)
8 TGCStack::ElementPosition(void*)
8 TGCStack::ElementPosition(void*)
21 UASActor_Clone1(unsigned char, TGCStack&)
21 UASActor_Clone1(unsigned char, TGCStack&)
21 UASEnvironment_Clone(unsigned char, TGCStack&)
18 UASActor_Clone1(unsigned char, TGCStack&)
18 UASEnvironment_Clone(unsigned char, TGCStack&)
18 UASVector_Clone1(unsigned char, TGCStack&)
16 UASRecord_Clone1(unsigned char, TGCStack&)
15 TGCStack::ElementPosition(void*)
15 TGCStack::ElementPosition(void*)
1 UASRecord_Clone1(unsigned char, TGCStack&)
2 UASClone1(unsigned char, TGCStack&)
2 TGCStack::ElementPosition(void*)
2 TGCStack::ElementPosition(void*)
3 UASClone1(unsigned char, TGCStack&)
3 TGCStack::ElementPosition(void*)
3 TGCStack::ElementPosition(void*)
21 UASVector_Clone1(unsigned char, TGCStack&)
21 UASActor_Clone1(unsigned char, TGCStack&)
21 UASActor_Clone1(unsigned char, TGCStack&)
21 UASActor_Clone1(unsigned char, TGCStack&)
21 UASEnvironment_Clone(unsigned char, TGCStack&)
19 UASActor_Clone1(unsigned char, TGCStack&)
19 UASEnvironment_Clone(unsigned char, TGCStack&)
19 UASVector_Clone1(unsigned char, TGCStack&)
14 UASRecord_Clone1(unsigned char, TGCStack&)
14 TGCStack::ElementPosition(void*)
14 TGCStack::ElementPosition(void*)
5 UASClone1(unsigned char, TGCStack&)
5 TGCStack::ElementPosition(void*)
5 TGCStack::ElementPosition(void*)
2 UASClone1(unsigned char, TGCStack&)
2 TGCStack::ElementPosition(void*)
2 TGCStack::ElementPosition(void*)
5 UASClone1(unsigned char, TGCStack&)
5 TGCStack::ElementPosition(void*)
5 TGCStack::ElementPosition(void*)
29 UASEnvironment_Clone(unsigned char, TGCStack&)
28 UASVector_Clone1(unsigned char, TGCStack&)
21 UASRecord_Clone1(unsigned char, TGCStack&)
21 TGCStack::ElementPosition(void*)
21 TGCStack::ElementPosition(void*)
7 UASClone1(unsigned char, TGCStack&)
7 TGCStack::ElementPosition(void*)
7 TGCStack::ElementPosition(void*)
1 UASClone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
1 UASClone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
1 UASClone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
2 UASActor_Clone1(unsigned char, TGCStack&)
2 UASActor_Clone1(unsigned char, TGCStack&)
2 UASActor_Clone1(unsigned char, TGCStack&)
2 UASEnvironment_Clone(unsigned char, TGCStack&)
1 UASActor_Clone1(unsigned char, TGCStack&)
1 UASEnvironment_Clone(unsigned char, TGCStack&)
1 UASVector_Clone1(unsigned char, TGCStack&)
1 UASRecord_Clone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
1 UASClone1(unsigned char, TGCStack&)
1 TGCStack::ElementPosition(void*)
1 TGCStack::ElementPosition(void*)
Total number in stack (recursive counted multiple, when >=5):
37 UASActor_Clone1(unsigned char, TGCStack&)
31 TGCStack::ElementPosition(void*)
23 UASClone1(unsigned char, TGCStack&)
19 UASEnvironment_Clone(unsigned char, TGCStack&)
13 UASVector_Clone1(unsigned char, TGCStack&)
8 UASRecord_Clone1(unsigned char, TGCStack&)
Sort by top of stack, same collapsed (when >= 5):
TGCStack::ElementPosition(void*) 228
Sample analysis of process 16879 written to file /dev/stdout
Sampling process 16879 each 10 msecs 300 times
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden