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 11 of 15 Topic 761 of 861
Post > Topic >>

Re: Getting the Source Line from an Executable

by Gene Wirchenko <genew@[EMAIL PROTECTED] > May 5, 2007 at 11:38 PM

"Olaf Doschke" <b2xhZi5kb3NjaGtlQHNldG1pY3MuZGU@[EMAIL PROTECTED]
> wrote:

>> text of the error line when running under the run-time.  I have come
>> to the conclusion that there is no way to do it.
>
>I use Message(1) since 7 Years (even in VFP6),
>and if you compile with "Debug info" it does give
>you the source code line. Maybe you also need to
>uncheck "encrypted", haven't tested that

     I compile with the compile command.

>I call my error handler with:
>On Error Do ErrorHandling With Error( ), Message( ), Message(1), Program(
), 
>Lineno( ), Lineno(1)
>
>Additional I use AERROR() and ASTACKINFO() within the handler.
>And Astackinfo also returns the code, not just the line number, the help
>also tells you, that in column 6 of the ASTACKINFO result array you get
>source line contents. It works.

     I do very similarly.  When I run the .exe directly (not through
the development system), the source line is not available.  message(1)
is do***ented as doing this.  I was looking for an alternative.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
     I have preferences.
     You have biases.
     He/She has prejudices.
 




 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:33:43 CST 2008.