#414 Impossible to reset when waiting for System.in

closed-fixed
nobody
5
2008-01-18
2005-10-04
No

DrJava 20050806-2057, JDK 1.5.0_02, Mac OS X 10.4.2:

If a user method running from the interactions pane is waiting on
System.in (input pop-up window), it cannot be reset. As a result, a
buggy method that gets stuck in an infinite loop waiting for input cannot
be stopped, and the only way to proceed is to kill DrJava, losing any
unsaved definitions.

Discussion

  • Robert Cartwright

    Logged In: YES
    user_id=430590

    We have added an "abort" button to the popup window for
    console input that addresses this problem. Check out the
    latest beta release.

     
  • Dan Smith

    Dan Smith - 2006-04-05

    Logged In: YES
    user_id=1060117

    The latest development release (20060320) reads user input inline, rather than
    via a modal dialog. "Reset" can be clicked while the interactions pane is waiting
    for user input.

     
  • Dan Smith

    Dan Smith - 2006-04-05
    • status: open --> open-fixed
     
  • Mathias Ricken

    Mathias Ricken - 2008-01-18
    • status: open-fixed --> closed-fixed
     
  • Mathias Ricken

    Mathias Ricken - 2008-01-18

    Logged In: YES
    user_id=1075744
    Originator: NO

    There is an exception that is thrown and shown briefly. It would be nice to filter that out.
    See attached screenshot.
    File Added: stdio-reset-exception.gif

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks