1 line
1.3 KiB
Plaintext
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't correlate with any changes in my init.el, so I'm at a loss for how to diagnose it. I've profiled <code>org-capture</code> with edebug after this behavior started, but I haven't been able to get it to hang while stepping through it yet - I'm not sure whether that's due to the fact I'm walking through it instead of using bytecode (although I've rebuilt everything recently so I know it's not stale) or just because I haven't gotten lucky enough to provoke the weird behavior.</p> <p>Any tips for how to profile what's causing a command to hang?</p> </div><!-- SC_ON -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/emacs/comments/r2vnyb/how_to_diagnose_whats_causing_a_command_to_hang/">[comments]</a></span> |