Is there a way to "speed up time" when debugging in Eclipse?
For instance, suppose you're debugging the following piece of code:
someFun();
Thread.sleep(ONE_MINUTE);
someOtherFun();
... when the Thread.sleep() method is reached, you have to wait one minute before being able to continue debugging. Is there a way to "speed up time" and have the sleep() method return immediately? (I understand that this speeding up can actually be dangerous, but let's assume it won't interfere with the correctness of the program.)
The next alternative would be wrap to Thread.sleep() and put it under a debug flag, but I'd like to avoid making such changes to the code.