How to hang your GUI
These steps have worked for me repeatedly.
All of these steps may not be necessary, but I have not tested all the permutations.
1) Open the Help page: Help->Help Topics
2) Open a code page (I used DummyRails->app->controllers->transaction_paths_controller.rb
3) Select enclosing folder (Move cursor to enclosing folder and left click (I used DummyRails))
4) reformat the code: Code->Reformat Code
Note that the user interface panel 'Reformat Code' now has little tiny buttons with no text.
Note that the user interface panel cannot be closed, even with Rt-click->Close applied to the top bar of the user interface panel.
Note that you cannot close RubyMines either.
Note that no keystrokes are accepted anywhere on RubyMines or user interface or Help page.
Hung.
I am using RM 3.2.4, but this behavior has been observed on earlier versions.
To regain control,
ps ax | grep Mine
kill -9 <pid of above output>
Not quite - window image is still there..
ps ax | grep idea
kill -9 <pid of above output>
-------
Note - having the Help page open seems to be necessary to hang GUI.
On one of my tests, I noticed a panel that came up asking if I wanted to reload system.
I said yes, and RM seemed to restart - with all of my file names now in blue..
Have fun
请先登录再写评论。
Thanks a lot for description, we'll ask our QA engineer to reproduce it, and create an issue if she succeded.
Regards,
Oleg
Incidentally, I am seeing something similar. At the time of nonresponsive death, RM logs the following to idea.log:
When this happens however, the hang is hard. The port 3000 is not released and the Ruby process is still running even when I am able to cleanly shut down the IDE. (There is no thread-dump that aligns with the timing of hang).
Hope this sheds some light.
Regards,
Kedar
The Ruby rails webserver occasionally does not quit when the red square is clicked.
In those cases:
ps ax | grep rvm
kill -9 <pid of output of above line>
This works if you are running rvm..