Page 1 of 1 1
Topic Options
#79374 - 2003-01-03 04:16 AM Extended error info
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I've found an odd behavior with the extended error info, which, BTW, I do like.

I had a couple of UDfs in a separate UDF file which was loaded into the main script via CALL UDFFILE.UDF

One of the UDFs contained a variable declaration error. The script errored out when that particular UDF was called and the extended error info displayed the scriptname and line number of the error. However, though the line number was correct, the scriptname was the one of the main script, not the name of the file that contained the UDFs.

This will cause confusion as people will start checking their main script at the indicated line number and not find any errors.

I think it's a genuine bug as the error handling routine definitely knows about the external file as it displayed the correct line number of the error, it just didn't display the name of the external file.

[ 03. January 2003, 15:25: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#79375 - 2003-01-03 05:29 AM Re: Extended error info
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I'd have to assume that it is not the odd behavior but rather the extended error info, that you like.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#79376 - 2003-01-03 03:26 PM Re: Extended error info
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Yes, I do like the extended error info.

However, I would also like a way to trap the error info and then e.g. be able to send a notification (eventlog/email/sendmessage) containing the error info.
_________________________
There are two types of vessels, submarines and targets.

Top
#79377 - 2003-01-07 01:54 PM Re: Extended error info
Anonymous
Unregistered


Thanks for the report.

In short: the next build will report the correct scriptfile-name.

Kind regards,

Ruud

Top
#79378 - 2003-01-07 03:54 PM Re: Extended error info
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Thanks [Smile]
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 735 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.052 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.