Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug: message(1) returns random line and chr(13) in exe
Message
De
19/11/1999 14:45:05
 
 
À
19/11/1999 14:35:50
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00293201
Message ID:
00293239
Vues:
21
>>Did you include the debugging information when you compiled?
>
>Ed, FWIW,
>
>I did this test:
>
x= 3
>y='c'
>on error messagebox( message(1) )
>?x=y
>on error
>
>It returns the line of code when I do the exe from the command window, but when I do it from the explorer, message(1) = "do test.exe"
>
>Whether it's a bug or by design, I can't guess since I have no clue how the program code is stored in a debug-compiled EXE.

Nancy,
if program is more sophisticated, it returns some other perivously
executed program line.

It seems that returned line is selected randomly, I cannot see
any reason why this line is returned.

I want to use this information for debugging, because
line numbers are changing when I modify my program after
releasing an exe file.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform