Debugging help -- projectile keeps spawning prompts reddit / emacs ---------------------------------------------------------------------- tending · 2022-07-01 19:34 Projectile seems to randomly ask me if I want to switch projects. I can't find a consistent trigger. It's almost certainly something I accidentally scripted rather than a problem with projectile but I'm not sure how to debug it because my configuration is vast. Is there a good way to: * Find out what function causes the prompt to appear? * Get a stack trace when that function is called? ---------------------------------------------------------------------- yyoncho · 2022-07-01 19:37 `M-x toggle-debug-on-quit` + `C-g` when prompt appears. ---------------------------------------------------------------------- ieure · 2022-07-01 19:51 Also `C-h l` will show you what keys you pressed and what commands those invoked.