There is an operation in my setup which makes emacs unresponsive with high CPU.
I checked the emacs process with process monitor, but it does not wait for an other process, so I guess it must be something inside emacs.
I don't want to compile my own emacs with debug symbols (why isn't there a precompiled one?). Is there some feature inside emacs which I could start before invoking the operation, which writes into a text file what emacs is doing, so I can check where it gets stuck?
Debugging a frozen Emacs gives answers that work on Unix-like systems, but Windows doesn't have a USR2 signal. Is there a Windows equivalent?
C-g
, then you can typeM-x view-lossage
to see the recent commands and start backtracing/researching from there. I'm only a hobby programmer and am unsure why you think an Emacs with debugging symbols would be useful if you haven't built it from source yourself sincegdb
uses the sources to debug and.gdbinit
gets loaded from thesrc
directory. – lawlist Jan 31 '21 at 20:33