#79374 - 2003-01-03 04:16 AM
Extended error info
|
Sealeopard
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
|
|
|
|
#79377 - 2003-01-07 01:54 PM
Re: Extended error info
|
Anonymous
Anonymous
Unregistered
|
Thanks for the report.
In short: the next build will report the correct scriptfile-name.
Kind regards,
Ruud
|
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 823 anonymous users online.
|
|
|