Richard Kaye wrote: > One trick I've recently added is to turn on coverage logging or event > tracking in the load event of my baseform class if a special var is in > scope. Like this: > > TRY > IF m.syscoverage > SET COVERAGE TO > ADDBS(ALLTRIM(m.systemp))+[c]+ALLTRIM(this.Name)+[.log] > ENDIF > CATCH > ENDTRY > TRY > IF m.syseventtracking > SET EVENTTRACKING TO > ADDBS(ALLTRIM(m.systemp))+[e]+ALLTRIM(this.Name)+[.log] > SET EVENTTRACKING ON > ENDIF > CATCH > ENDTRY
What benefit does wrapping in a T/C/E provide? Specifically, what situations have you run into where it's done something for ya? > Obviously this works for my environment. And there's a bit in the form > unload to turn it back off. I've also been using Martin Jindra's > coverage profiler to examine the results instead of the one that comes > with VFP. This is good particularly for debugging (why IS that valid not firing...) That'd be the ticket - to be able to weed through the clutter to see what's important. In my situation, just trying to determine the big picture of what a form is doing - I'm suspecting that coverage prof. is too granular. Do you agree, or not? One system I'm working on now has a form where it's getting function calls from (1) other local methods in the form, (2) inherited methods up the class tree, (3) oApp methods, (4) methods in two other messaging objects, (5) functions from a procedure file that's specific to this app, and (6) functions from a generic proc file. It's not the mess it sounds like - it's pretty well designed and things are where they are for good reasons. I'm just too old to keep ALL this in my head anymore. <s> Whil _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

