how create error.log in FWH

how create error.log in FWH

Postby kajot » Wed Dec 14, 2016 4: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
User avatar
kajot
 
Posts: 332
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: how create error.log in FWH

Postby Antonio Linares » Wed Dec 14, 2016 5:42 pm

Kajot,

Testing your example I get this:
Image

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41439
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: how create error.log in FWH

Postby kajot » Wed Dec 14, 2016 6:07 pm

I am using xHarbour.com.
best regards
kajot
User avatar
kajot
 
Posts: 332
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: how create error.log in FWH

Postby kajot » Wed Dec 14, 2016 6:25 pm

I am using standard
best regards
kajot
User avatar
kajot
 
Posts: 332
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: how create error.log in FWH

Postby Antonio Linares » Wed Dec 14, 2016 11:11 pm

Much better :-)

With standard xHarbour it properly errors too
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41439
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: how create error.log in FWH

Postby kajot » Thu Dec 15, 2016 4:26 pm

if I compiling apps without FWH i get error.log.
best regards
kajot
User avatar
kajot
 
Posts: 332
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: how create error.log in FWH

Postby kajot » Thu Dec 15, 2016 6:13 pm

how check if I using FWH standard error system ?
best regards
kajot
User avatar
kajot
 
Posts: 332
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: how create error.log in FWH

Postby Antonio Linares » Thu Dec 15, 2016 7:05 pm

Kajot,

Go to FWH\samples and do:

buildx.bat testerro

For xHarbour
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41439
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: how create error.log in FWH

Postby kajot » Thu Dec 15, 2016 7:53 pm

I am using xHB.com

compiling
xbuidw testerro.prg
and still error.log not creating
best regards
kajot
User avatar
kajot
 
Posts: 332
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: how create error.log in FWH

Postby Antonio Linares » Fri Dec 16, 2016 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41439
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: how create error.log in FWH

Postby kajot » Fri Dec 16, 2016 8:28 pm

thanks for help
best regards
kajot
User avatar
kajot
 
Posts: 332
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 40 guests