Subject Re: PLUSErr.log
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Sat, 10 Dec 2022 13:33:50 -0800
Newsgroups dbase.getting-started
Attachment(s) Error_Log_Inspector.pngError_Log_Properties.png

On 12/10/2022 1:11 PM, Ken Mayer wrote:
> On 12/10/2022 12:50 PM, Mustansir Ghor wrote:
>> Dear Ken Sir
>>
>> I put ?_app.errorlogfile  in the command window it gave result as
>> PLUSErr.log but I am unable to locate this file
>>
>
> Well, it only gets created as needed.
>
> Try looking here:
>
> C:\Users\user_name\AppData\Local\dBASE\dBASE2019\Bin
>
> Replace "user_name" with your Windows username ...

Also, if you want to actually use the error log, you have to turn it on
(Properties, Desktop Properties, "Programming" tab).

Change the setting highlighted with the red oval to options:

2 - Log Error and Quit or 5 - Log Error and Show Error Dialog

Then close the dialog.

Or, in the inspector you can change it by inspecting _app:

inspect(_app)

See attached.

Or, in code:

_app.errorAction := 2 // or 5 ...

(I don't tend to use this, which is why I had to go look ...)

Ken


--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm