1

I have a complex Emacs setup. I love it, except for that fact that it freezes a couple of times a day for me. I have a few suspicion:

  1. I use you-complete-me for auto-completion in c++ and it may be hanging on RPC call to the YMCD server.
  2. I use el-get package manager and it occasionally checks with the server.

The problem is that another colleague has almost the same setup and his Emacs does not hang. How would I debug something like this?

Drew
  • 77,472
  • 10
  • 114
  • 243
Amit Prakash
  • 111
  • 2

1 Answers1

2
  1. M-x toggle-debug-on-quit
  2. Hit C-g when running into the freeze
  3. ????
  4. PROFIT

Don't forget running M-x toggle-debug-on-quit again after successful debugging, it's rather annoying to have every C-g spawn the debugger.

wasamasa
  • 22,178
  • 1
  • 66
  • 99