From: Koen Piller
To: Hans Leander
Ohio - United States
Visual FoxPro 9 SP2
Errors & Debugging
Monday, December 30, 2013 10:06:52 PM
This message was rated by:
> > 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
I understand you have an unexpected quiting of FoxPro when you click on a particular menuitem but you face too much coding to explore to find out what makes VFP closing your application.
If my understanding correct than put following line in your application startup:
Now when the debugger opens you click in the debugger main menu on Window->Callstack and you should see the line which causes the shutdown.
Posted by Hans Leander @ 12/30/2013 7:29:09 PM
Posted by Vilhelm-Ion Praisach @ 12/30/2013 7:32:15 PM
Posted by Tore Bleken @ 12/30/2013 7:45:59 PM
Posted by Stefan Wuebbe @ 12/30/2013 7:48:43 PM
Posted by Pete Sass @ 12/30/2013 7:54:32 PM
Posted by Hans Leander @ 12/30/2013 8:22:10 PM
Posted by David Mustakim @ 12/30/2013 8:39:54 PM
Posted by Koen Piller @ 12/30/2013 10:06:52 PM
Posted by Hans Leander @ 12/31/2013 3:00:42 AM