Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling dilema
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00037106
Message ID:
00037158
Views:
28
> I have an error handler at the form level and all objects on the form pass > errors they can`t handle up to the form to process. The form level error > handler displays a form with pertinent information. > > This is all well an good for production, but in design mode I prefer the > way VFP traps errors and gives me the option to suspend which > automatically opens the debugger on the line of code that caused the > error. > > Is there any way that I can simulate this behavior after my form has > trapped the error? I.e. have a debug button on my error display form that > when clicked will open the debugger on the line that caused the error > > RETRY doesn't work. What I really want is to be positioned on the offending > line of code, not re-execute it. Why not just have the error handling code be loaded, based on a variable (I like using an environment variable)? if not m.glDevelopment on error ... endif /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform