RE: Ideas for Euphoria v2.5
- Posted by Al Getz <Xaxo at aol.com> Aug 16, 2003
- 413 views
Urzumph at HotPOP.com wrote: > > > Al Getz wrote: > > > Now that i've seen the call for "Major ideas" for 2.5, i have to say > > that a really major improvement would be to have a Windows based > > debugger for operations on Windows systems. > > I considered building one myself a while back. > > Also, a secondary thread too, if that's possible. > > There's only one thing I would like in euphoria, and I REALLY want it. > > I would really like it if, when reporting errors, the interpreter would > give 5 lines above and below (assuming the lines are available, and that > > it does not go outside the bounds of a function/procedure) where the > error occoured. This is most annoying when the error occours on a very > unimportant line like > > expected to see possibly 'procedure' not if > end if > ^ > > If I do ANY significant amount of coding before I execute the program, > chances are, I will have used several procedures, and probably a few > dozen ifs. That is decidedly un-helpful. > > Side note: yes, the line numbers are useful, just not when you have > include files that are so long that you can't get to that line by hand, > they are near useless > > Hello there, I know what you mean, but you do get the traceback printout that helps a lot i think. If you need to see more lines maybe you could use an editor that automatically opens up to the line number where the last error occurred. It's not that hard to implement and i might put it in my own personal editor too. Take care for now, Al