Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugger
Message
 
 
À
18/02/2016 17:23:01
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows 7
Database:
Oracle
Application:
Desktop
Divers
Thread ID:
01631676
Message ID:
01631714
Vues:
67
>>>>>>>BUT you must have project and run application from it, not the compiled EXE.
>>>>>>
>>>>>>How do you come to that conclusion?
>>>>>>It works for compiled exe, but the exe should be located alongside the pjx, or you may not see some code. It's also a good idea to have debuginfo turned on on projectinfo (righclick the project manager.)
>>>>>
>>>>>ASSERT do not work in EXE.
>>>>
>>>>Wrong again. ASSERT runs pretty well inside exe as long exe is inside IDE. If outside ASSERT is like NOTE.
>>>
>>>I don't see reason to run exe inside IDE, I just run the main program in the project :-)
>>>And BTW you SHOULD have a pretty good log when error happens when the exe is running outside the IDE.
>>
>>As I was reading your message exchange it occurred to me one case where running EXE from IDE may make sense. I have VFP 9 IDE on customer computer/server (by copying files VFP9ENU.DLL, VFP9.EXE) but no source code. It does not make sense for me to copy the entire source code to the customer computer/server. But if I need to troubleshoot a certain case (maybe a bug maybe not, no error message) I could put ASSERT(s) into the application and run the .EXE from the IDE and get some values or some messages. And these ASSERT(s) would be ignored in all the cases where the EXE runs not from IDE. Does it make sense?
>
>try that on exe compiled with debug on.
>It's like a charm on customers comp ....

I will try.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform