I try to comments 1.4K+ lines in a C++ function by using M-;
or rectangle insert string //
.
Wait for several minutes, Emacs still no respond. I have to kill Emacs.
In this case, how could I locate what cause the Emacs use 100% CPU and looks like do nothing?
Emacs: 25.0
OS: Ubuntu 14.04