Sometimes you can’t trap an error because the application crashes out. To track everything you can switch on OpenEdge Client Logging. This can be done from within the code, or at startup using the icon.
Windows Icon target line example
C:\dlcv102b\bin\prowin32.exe -basekey “INI” -ininame testapp.ini -pf pf\testapp.pf -clientlog c:\testapp\applog.txt -logginglevel 4 -p appstart.p
Code Example
LOG-MANAGER:LOGFILE-NAME = SESSION:TEMP-DIRECTORY + “applog.txt”.
LOG-MANAGER:CLEAR-LOG () .
LOG-MANAGER:LOG-ENTRY-TYPES = “4GLTrace:5,4GLMessages” .