Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about LINENO()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00266575
Message ID:
00266584
Vues:
21
>Hi, gang...
>
>A question...
>
>Is it possible to compile without debugging information on, yet be able to access the line # for a run-time error?
>
>Our app writes out any run-time errors to a log file, and that information includes the line # that caused the error. I'd like to be able to recompile w/out debug info, but then any runtime errors return a line # of 0 when the software calls the LINENO() function.
>
>I don't need to write out the actual line of code, just the line #, without having to include all the debug info in the EXE (which really bloats the size of the EXE)....any ideas?
>
>TIA,
Hi Kevin,

You need to include the debug information in order to get the line number that tripped the error handler. AFAIK, there's no way around this.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform