Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Pete Sass
 To: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Stefan Wuebbe
Subject: RE: Debug
Thread ID: 394117 Message ID: 394126 # Views: 38 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Errors & Debugging
Date: Monday, December 30, 2013 7:54:32 PM         

> > 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
> You can also run your application until an error pops up, and then press the additional "Suspend" button that you get in the native Vfp error dialog when the application runs inside the IDE, and then start Tools -> Debugger
> hth
> -Stefan

Hi Stefan,

Glad you mentioned this. I do what you are explaining, but never really paid any attention
to what I do.
I generally ensure no error trapping in effect via:
ON ERROR in command window. Then run my routine until I get the error and then click Suspend
and follow on from there.

Pete "the IceMan", from the Great White North of Canada.


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