Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Hans Leander
  Where is Hans Leander?
 Cleveland
 Ohio - United States
 Hans Leander
 To: Hans Leander
  Where is Hans Leander?
 Cleveland
 Ohio - United States
 Hans Leander
 Tags
Subject: RE: Debug
Thread ID: 394117 Message ID: 394152 # Views: 34 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Errors & Debugging
Date: Tuesday, December 31, 2013 3:00:42 AM         
   


> > Hello:
> >
> > When I set SET STEP ON, I have to click through an impossible amount of code before I come to an error. Is there no way to just click something saying "Step on until you get an error, and then show me the code that erred!"?
> >
> > Thanks,
> >
> > Hans L
>
> Thank you guys.
>
> I click on a menu item, and Foxpro quits. Nothing wrong in the menu item code. When I SET STEP ON, I have to go through a tremendous amount of code to get to the error (can't be done). When I click "Run to cursor", Foxpro quits (no error message).
>
> maybe I have to set error on or something similar (did someone say that). I'll tr and will come back.
>
> Hans L

Thank you all for your help.

I went back to my main file, and discovered that I there had "ON ERROR DO errHandler". Removing it solved that problem (I had many more, but I was now able to solve them).

Again, thanks!

Hans L

ENTIRE THREAD

Debug Posted by Hans Leander @ 12/30/2013 7:29:09 PM
RE: Debug Posted by Vilhelm-Ion Praisach @ 12/30/2013 7:32:15 PM
RE: Debug Posted by Tore Bleken @ 12/30/2013 7:45:59 PM
RE: Debug Posted by Stefan Wuebbe @ 12/30/2013 7:48:43 PM
RE: Debug Posted by Pete Sass @ 12/30/2013 7:54:32 PM
RE: Debug Posted by Hans Leander @ 12/30/2013 8:22:10 PM
RE: Debug Posted by David Mustakim @ 12/30/2013 8:39:54 PM
RE: Debug Posted by Koen Piller @ 12/30/2013 10:06:52 PM
RE: Debug Posted by Hans Leander @ 12/31/2013 3:00:42 AM