Menu

#157 Eclipse freeze on launch

closed-fixed
5
2008-09-28
2008-09-20
Francois
No

Hello ! I'm using Eclipse 3.4.0 (I20080617-2000) and both SimpleTest Eclipse SVN trunk. The same problem appeared using Aptana with latest SimpleTest Eclipse plug-in or EasyEclipse pre-packaged distribution.

When launching the SimpleTest Eclipse plug-in SimpleTest configuration through the "Run As > Simple Test" action, Eclipse will freeze during the tests.

Step to reproduce the problem :
- create a php file with content :
<?php
sleep(10);
?>
- right click on the file and choose "Run As > SimpleTest"
- try to do anything with Eclipse

This problem won't happen if the launching configuration has already been set, and you try to run the test by clicking on this configuration.

Investigation confirmed that the first launch is running in the main UI thread, causing the UI to freeze. In the second case, the launch is running in a working thread.

Since everything goes fine in the working thread, it seems safe to start a new thread for each launch. This will avoid this annoying UI freeze.

Discussion

  • Steven Balthazor

    • status: open --> closed
     
  • Steven Balthazor

    I just posted a new release which fixes this issue.

     
  • Francois

    Francois - 2008-09-28

    works greatly ! Thank you for the quick fix

     
  • Francois

    Francois - 2008-09-28
    • status: closed --> closed-fixed
     

Log in to post a comment.