emacs/var/elfeed/db/data/23/23ad0656d52fa5deb5a73aeaf57943d313116088
2022-01-03 12:49:32 -06:00

1 line
1.3 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Occasionally, when I call <code>org-capture</code>, the template selection screen will be launched but then fail to respond to any further keypresses until I <code>C-g</code>, locking up Emacs (and making my desktop fans spin up!) in the meantime. This seems to happen randomly, and doesn&#39;t correlate with any changes in my init.el, so I&#39;m at a loss for how to diagnose it. I&#39;ve profiled <code>org-capture</code> with edebug after this behavior started, but I haven&#39;t been able to get it to hang while stepping through it yet - I&#39;m not sure whether that&#39;s due to the fact I&#39;m walking through it instead of using bytecode (although I&#39;ve rebuilt everything recently so I know it&#39;s not stale) or just because I haven&#39;t gotten lucky enough to provoke the weird behavior.</p> <p>Any tips for how to profile what&#39;s causing a command to hang?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/summetria"> /u/summetria </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r2vnyb/how_to_diagnose_whats_causing_a_command_to_hang/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/r2vnyb/how_to_diagnose_whats_causing_a_command_to_hang/">[comments]</a></span>