> To see if I had successfully replaced all the JS patches properly I am 
> wondering if there is a way to check if QC is executing JavaScript at any 
> time. This will be for debugging purpose only.


GDB + breakpoints.  Break on JSEvaluateScript I think?  (search 
/System/Library/Frameworks/JavaScriptCore.framework/Headers/*.h for other 
potentially useful breakpoints if this one doesn't turn up anything 
interesting).

Note that QC Editor's Template Chooser composition uses JS as far as I recall, 
so it might give some false positives if you're testing in the editor.

If the breakpoints reliably spot offenders for you, you can then make a dtrace 
script to log when they happen - that's a bit less invasive than a full 
debugger, and perhaps more easily testable by an automated test harness.

--
Christopher Wright
[email protected]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to