Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error stack
Message
 
À
02/01/2001 13:48:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00458540
Message ID:
00458723
Vues:
14
>ok thats it for the program name, but how cn i do for the line number for each program ?

Francis,

It's too bad that lineno() doesn't take an argument for specifying the stack depth. Unfortunately, it only allows you to determine the line # at the current depth. But then, line numbers are not a very satisfactory way of reporting errors anyhow. I prefer to give useful context-specific messages for common errors, so no one has to refer to the source code to make sense out of the error messages. For all of the unanticipated error cases, I want a generic error handler that includes diagnostic, tracing, logging, and debugging options. Check out my error handling classes and demo application, which you can download from the ErrHandler forum at http://www.ideaxchg.com/ix07/er/_sys/toccontu.htm.

Mike
Montage

"Free at last..."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform