FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour how create error.log in FWH
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
how create error.log in FWH
Posted: Wed Dec 14, 2016 04:41 PM

how create error.log in FWH

apps in xharbour without FWH

PROCEDURE Main
? a
RETURN

if I run apps /compiling without FWH/ I got error.log

----------------------------- xHarbour Error Log ------------------------------

Date...............: 12/14/16
Time...............: 17:31:26

Application name...: S:\samples19\error\t.exe
Workstation name...: VOSTRO3500
Available memory...: 2097151
Current disk.......: S
Current directory..: samples19\error
Free disk space....: 14805118976

Operating system...: Windows 6.2.9200
xHarbour version...: xHarbour 1.2.3 Intl. (SimpLex) (Build 20160705)
xHarbour built on..: Jul 8 2016 15:17:55
C/C++ compiler.....: Pelles ISO C Compiler 3.0 (32-bit)
Multi Threading....: NO
VM Optimization....: 2

Current Area ......:1

-------------------------- Environmental Information --------------------------

SET ALTERNATE......: OFF
SET ALTFILE........:
SET AUTOPEN........: ON
SET AUTORDER.......: 0
SET AUTOSHARE......: 0
SET BACKGROUNDTASKS: OFF
SET BACKGROUNDTICK.: 1000
SET BELL...........: OFF
SET BLINK..........: .T.
SET CANCEL.........: ON
SET CENTURY........: OFF
SET COLOR..........: W/N,N/W,N/N,N/N,N/W
SET CONFIRM........: OFF
SET CONSOLE........: ON
SET COUNT..........: 0
SET CURSOR.........: 1
SET DATE FORMAT....: MM/DD/YY
SET DBFLOCKSCHEME..: 0
SET DEBUG..........: OFF
SET DECIMALS.......: 2
SET DEFAULT........:
SET DEFEXTENSIONS..: ON
SET DELETED........: OFF
SET DELIMCHARS.....: ::
SET DELIMETERS.....: OFF
SET DEVICE.........: SCREEN
SET DIRCASE........: 0
SET DIRSEPARATOR...: \
SET EOL............: 13
SET EPOCH..........: 1900
SET ERRORLOG.......: ERROR.LOG,.F.
SET ERRORLOOP......: 8
SET ESCAPE.........: ON
SET EVENTMASK......: 128
SET EXACT..........: OFF
SET EXCLUSIVE......: ON
SET EXIT...........: OFF
SET EXTRA..........: OFF
SET EXTRAFILE......:
SET FILECASE.......: 0
SET FIXED..........: OFF
SET FORCEOPT.......: OFF
SET HARDCOMMIT.....: ON
SET IDLEREPEAT.....: ON
SET INSERT.........: OFF
SET INTENSITY......: ON
SET LANGUAGE.......: EN
SET MARGIN.........: 0
SET MBLOCKSIZE.....: 0
SET MCENTER........: OFF
SET MESSAGE........: 0
SET MFILEEXT.......:
SET OPTIMIZE.......: ON
SET OUTPUTSAFETY...: ON
SET PATH...........:
SET PRINTER........: OFF
SET PRINTERJOB.....:
SET PRINTFILE......: PRN
SET SCOREBOARD.....: ON
SET SCROLLBREAK....: ON
SET SOFTSEEK.......: OFF
SET STRICTREAD.....: OFF
SET TRACE..........: ON
SET TRACEFILE......: TRACE.LOG
SET TRACESTACK.....: 2
SET TRIMFILENAME...: .F.
SET TYPEAHEAD......: 50
SET UNIQUE.........: OFF
SET VIDEOMODE......: 0
SET WRAP...........: OFF

---------------------------Detailed Work Area Items----------------------------

-------------------- Internal Error Handling Information ---------------------

Subsystem Call ....: BASE
System Code .......: 1003
Default Status ....: .F.
Description .......: Variable does not exist
Operation .........: A
Arguments .........:
Involved File .....:
Dos Error Code ....: 0

Trace Through:

MAIN : 12 in Module: t.prg

######################## Video Screen Dump

+--------------------------------------------------------------------------------+
| |
|Error BASE/1003 Variable does not exist: A |
| |
|Error at ...: MAIN(12) in Module: t.prg |
---------------------------------------------------------------------------------+

if I create apps with FWH

include 'Fivewin.ch'

PROCEDURE Main
? a
RETURN

I don't get error.log

best regard
kajot

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: how create error.log in FWH
Posted: Wed Dec 14, 2016 05:42 PM
Kajot,

Testing your example I get this:


Are you using FWH standard error system or do you use a modified errorsys.prg ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
Re: how create error.log in FWH
Posted: Wed Dec 14, 2016 06:07 PM

I am using xHarbour.com.

best regards

kajot
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
Re: how create error.log in FWH
Posted: Wed Dec 14, 2016 06:25 PM

I am using standard

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: how create error.log in FWH
Posted: Wed Dec 14, 2016 11:11 PM

Much better :-)

With standard xHarbour it properly errors too

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
Re: how create error.log in FWH
Posted: Thu Dec 15, 2016 04:26 PM

if I compiling apps without FWH i get error.log.

best regards

kajot
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
Re: how create error.log in FWH
Posted: Thu Dec 15, 2016 06:13 PM

how check if I using FWH standard error system ?

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: how create error.log in FWH
Posted: Thu Dec 15, 2016 07:05 PM

Kajot,

Go to FWH\samples and do:

buildx.bat testerro

For xHarbour

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
Re: how create error.log in FWH
Posted: Thu Dec 15, 2016 07:53 PM

I am using xHB.com

compiling
xbuidw testerro.prg
and still error.log not creating

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: how create error.log in FWH
Posted: Fri Dec 16, 2016 09:09 AM
I just tested an error with xhb.com and the FWH error dialog properly appears

Please search in all your PRGs for a function ErrorDialog()

You may be using a modified errorsysw.prg

See the error.log that I get here:
Application
===========
Path and name: C:\xhb\samples\fivewin\fwtutor1.exe (32 bits)
Size: 3,031,040 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20150726)
FiveWin Version: FWHX 16.11
Windows version: 6.2, Build 9200

Time from start: 0 hours 0 mins 0 secs
Error occurred at: 12/16/16, 10:05:07
Error description: Error BASE/1081 Argument error: +
Args:
[ 1] = U
[ 2] = N 1

Stack Calls
===========
Called from: fwtutor1.prg => MAIN( 9 )
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
Re: how create error.log in FWH
Posted: Fri Dec 16, 2016 08:28 PM

thanks for help

best regards

kajot

Continue the discussion