Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Victor Friedman
  Where is Victor Friedman?
 Moscow
 Russia
 Victor Friedman
 To: Paul Gibson
  Where is Paul Gibson?
 Glasgow
 United Kingdom
 Paul Gibson
 Tags
Subject: RE: Form methods
Thread ID: 345025 Message ID: 345030 # Views: 46 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Thursday, May 17, 2012 1:44:42 PM         
   


> > Hello all!
> >
> > Here is my problem. I have a rather complicated form in my project with lots of controls and methods. And, as it usually happens, the customer always wants more and more, so as a result I have a lot of code that was placed there as a "patch" with features not in the original design. This resulted in a lot of piled up code, some of which keeps looping and takes a significant time for the form to get activated. Tracing it manually will take too long. So I was wondering if there is a simple way to see the exact sequence of methods that fire when the form is started.
> >
>
> Try experimenting with coverage logging.
>
> Switch the coverage log on, run through your series of actions, switch the coverage log off, examine the log file.
>
> As Cetin says there isn't really a way of doing this kind of debugging that isn't manual to some extent. The coverage logs are very comprehensive and can seem overwhelming at first but they are so useful when trying to debug the trickiest of issues.
>
> If you are not aware already, it is a fairly simple task to import a coverage log into a cursor to help you query it more easily and faster.


Perfect!
Thanks a lot, Paul.
The COVERAGE log is exactly what I needed. I knew there must be something of this sort that would tell me the exact sequence of events that take place. ;)

-Vick

ENTIRE THREAD

Form methods Posted by Victor Friedman @ 5/17/2012 1:05:20 PM
RE: Form methods Posted by Cetin Basoz @ 5/17/2012 1:35:41 PM
RE: Form methods Posted by Victor Friedman @ 5/17/2012 1:38:34 PM
RE: Form methods Posted by Cetin Basoz @ 5/17/2012 2:55:43 PM
RE: Form methods Posted by Victor Friedman @ 5/17/2012 10:32:02 PM
RE: Form methods Posted by Paul Gibson @ 5/17/2012 1:39:53 PM
RE: Form methods Posted by Victor Friedman @ 5/17/2012 1:44:42 PM
RE: Form methods Posted by Tamar Granor @ 5/17/2012 10:29:42 PM
RE: Form methods Posted by Victor Friedman @ 5/17/2012 10:31:35 PM
RE: Form methods Posted by onytoo @ 5/18/2012 10:46:11 AM