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: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 Tags
Subject: RE: Form methods
Thread ID: 345025 Message ID: 345027 # Views: 48 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Thursday, May 17, 2012 1:38:34 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.
> >
> > Thanks in advance!
> >
> > -Vick
>
> There is nothing that I know of w/o some manual work, be it setting a breakpoint or in code showing. You may for example set a breakpoint with 'set step on' in the last method where you want to see the chain of methods/events executed and in debugger window you would see the sequence. Or in code you could get those as an array with astackdata().


This is basically what I am doing now - stepping through it and manually logging every method. This will probably take a couple of hours, so I was hoping to find a faster solution.

-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