AndreVanDelft / scala

The SubScript extension to the Scala programming language
http://www.subscript-lang.org/
12 stars 1 forks source link

Bug (?) within Graphical Debugger #12

Open anatoliykmetyuk opened 10 years ago

anatoliykmetyuk commented 10 years ago

"Step" button not always reacts to clicks; if it doesn't react once, then no button will react to the click after that time. It seems that this bug depends on processor load. If, for example, you load one of the cores of the processor at 100% (say, by opening a new Scala console and typing "while (true) {}"), the chance for the "Step" to ignore clicks increases dramatically: in fact, it always fails to react on second or third click. I don't know, however, whether the bug is only specific to my machine or does it affect other systems too. To reproduce the bug:

  1. Open the debugger for some simple script, for example this: http://pastebin.com/X4mb9Ua9
  2. Open a new Scala console, type while (true) {} there
  3. In the debugger, press "Step" button until script ends or "Step" button stops to react to your clicks
AndreVanDelft commented 10 years ago

I reproduced it on my machine on LifeFrame; the debugger hung on the 205th message . Even the Exit button dit not work any more.