Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > Re: Getting the...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 15 Topic 761 of 861
Post > Topic >>

Re: Getting the Source Line from an Executable

by Cy Welch <cywelch@[EMAIL PROTECTED] > May 2, 2007 at 09:15 PM

Gene Wirchenko wrote:
>      I distribute my app in .exe form.  Sometimes, there are bugs.  I
> dump to an error log, and I would like to see the line that threw the
> error.  (I want to be sure that I am looking at the correct version of
> the code, and I would like to check with the latest version if at all
> possible.)
> 
>      Unfortunately, message(1) is do***ented as not being available in
> the run-time.  "Is there a way around this?", he asked hopefully, not
> really expecting a positive answer, but being positively hopeful, sort
> of and hardly pleading at all, almost.
> 
> Sincerely,
> 
> Gene Wirchenko
> 
> Computerese Irregular Verb Conjugation:
>      I have preferences.
>      You have biases.
>      He/She has prejudices.
Gene,

We use the following line to setup for the global error handler for our
app:
ON ERROR DO ("VFPError.APP") WITH ERROR(), SYS(16), LINENO()

The LINENO() gives the line number being run.

-- 
Cy Welch
89 Camaro RS 5.0 TBI
03 Malibu
 




 15 Posts in Topic:
Getting the Source Line from an Executable
Gene Wirchenko <genew@  2007-05-02 13:30:11 
Re: Getting the Source Line from an Executable
"swdev2" <ws  2007-05-02 22:04:37 
Re: Getting the Source Line from an Executable
Gene Wirchenko <genew@  2007-05-02 20:17:40 
Re: Getting the Source Line from an Executable
"swdev2" <ws  2007-05-02 23:13:26 
Re: Getting the Source Line from an Executable
Gene Wirchenko <genew@  2007-05-02 22:50:34 
Re: Getting the Source Line from an Executable
Usenet <Mark@[EMAIL PR  2007-05-03 13:07:50 
Re: Getting the Source Line from an Executable
Gene Wirchenko <genew@  2007-05-03 10:02:19 
Re: Getting the Source Line from an Executable
Usenet <Mark@[EMAIL PR  2007-05-04 08:36:58 
Re: Getting the Source Line from an Executable
"Olaf Doschke"   2007-05-04 11:18:51 
Re: Getting the Source Line from an Executable
"swdev2" <ws  2007-05-04 09:34:25 
Re: Getting the Source Line from an Executable
Gene Wirchenko <genew@  2007-05-05 23:38:39 
Re: Getting the Source Line from an Executable
Cy Welch <cywelch@[EMA  2007-05-02 21:15:15 
Re: Getting the Source Line from an Executable
PM Godfrey <pNOmSPAMg@  2007-05-03 13:25:26 
Re: Getting the Source Line from an Executable
Gene Wirchenko <genew@  2007-05-03 10:38:22 
Re: Getting the Source Line from an Executable
KevClark64@[EMAIL PROTECT  2007-05-07 07:06:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:03:52 CST 2008.