Menu

#40 Better interactions error messages

open
nobody
8
2003-06-02
2002-03-08
No

We should study all the different kinds of error
messages you can get in interactions, and customize
them to be better.

Also, we need to resolve what to do with the stack
trace -- right now we clip it, to get rid of useless
info due to the interpreter, but I think we may clip
too much sometimes.

We also could present a better message when there is a
syntax error, hopefully by telling the student what
exactly went wrong (or at least where!).

This will likely involve either modifying DynamicJava
or yet more extension.

Discussion

  • Brian Stoler

    Brian Stoler - 2002-03-11
    • priority: 6 --> 9
     
  • Charles Reis

    Charles Reis - 2003-02-24

    Logged In: YES
    user_id=429731

    A preparser on the interactions pane could provide a lot of
    useful functionality towards this. It would not only let us
    display some more useful errors in many cases, but we could
    also support GJ/NextGen style generics. We'd like to see
    this accomplished in 312 this spring.

     
  • Jim Van Fleet

    Jim Van Fleet - 2003-06-02

    Logged In: YES
    user_id=430778

    Yeah, so we did it. See the Interactions Pre-processor area
    for more info.

     
  • Jim Van Fleet

    Jim Van Fleet - 2003-06-02
    • status: open --> closed
     
  • Charles Reis

    Charles Reis - 2003-06-02

    Logged In: YES
    user_id=429731

    I'm going to re-open this. The new interactions pre-processor
    framework is great, and the syntax error highlighting is
    definitely an improvement. However, I don't think the actual
    messages have improved at all. We're just printing out the
    stream of tokens that the user typed in, not giving any
    diagnostic message. I think this can (and should) be
    improved.

     
  • Charles Reis

    Charles Reis - 2003-06-02
    • priority: 9 --> 8
    • status: closed --> open
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.