Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build with one .prg with the source
Message
From
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:
01683462
Views:
89
Likes (1)
>>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.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform