Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling dilema
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037106
Message ID:
00037158
Vues:
26
> 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform