Re: Bugzilla working? Strange exception behaviour

"Mark Hahn" <[email protected]> Tue, 25 May 2004 11:16:02 -0700
Newsgroups gmane.comp.lang.prothon.devel
Message-ID <[email protected]>
"Mukhsein Johari" <[email protected]> wrote

> Hello all,
>
> I was wondering, is our bugzilla already "in
> production use" or not?

Yes it is.  I fix bugs reported within a day or two.

> I was playing with the new V0.1.0 and stumbled across
> a small bug. Not sure if it is critical but mildly
> confusing.
> (in interactive console)
>
> --------------------
> >>> 5.len()
>
> Uncaught exception:
> --- File: 5len-src.txt, line: 1, char: 8
> Function not found Error, Function `len not found.
> --------------------
>
> What 'file' is this?

I make up file names for every compile done, even single interactive lines.
That is so that debug dumps have file names to refer to.  I should hide them
from the display.

> Also, the type of error is not always reported, eg:
>
> --------------------
> >>> 23 /0
>
> Uncaught exception:
> --- File: 230-src.txt, line: 1, char: 6
> >>>

The whole area of error reporting needs work, especially in the interactive
console.  It's on the to-do list but I can move it up in priority.  The
other item on the list is adding function names to the exception reporting.