Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build with one .prg with the source
Message
 
 
To
07/02/2022 14:04:37
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01683436
Message ID:
01683463
Views:
52
>>>So, is it possible to include just one .PRG in the .EXE so that the error will show the line number of the error?
>
>FWIW, VFP C++ Compiler has a Application Debug option that creates a log line before and after each code line runs. If a variable is set by the line of code, the variable with newly set value is also logged. My experience: while pursuing a new issue, this feature unexpectedly allowed detection of a decade-old bug that had been worked around because nobody could replicate it. If it's happening at the start of your app, sending a VFPC++ exe with Application Debug enabled should provide lots of useful info leading up to the fault.
>
>VFP C++ Compiler also can considerably compress your exe. I would not be surprised if a 17MB exe compresses to less than 5MB. Alternatively, Refox also can significantly compress your exe, though Refox also strips out most sourcecode.

Thank you.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform