>>>>>>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 ....
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]