I have a problem with haskell-mode where Emacs will hang every time I open up a Haskell file. Mashing Ctrl-g a few times will get the file opened.
So I would imagine setting
debug-on-quit would allow me to debug the issue. But it doesn't. No debugger shows up. Likewise if I run this elisp code
(while 1). Emacs locks up, Ctrl-g will will break out of the hang, but no debugger.
I can sometimes bring up the debugger. Say if I run grep and then Ctrl-g whilst it is running, I will get a backtrace popping up.
So I'm not totally sure what is going on. Is there another way I should be debugging this hang with haskell-mode?
GNU Emacs 26.2 (build 1, x86_64-apple-darwin17.7.0, Carbon Version 158 AppKit 1561.6)