jacktasia / dumb-jump

an Emacs "jump to definition" package for 50+ languages
GNU General Public License v3.0
1.57k stars 150 forks source link

no debug output when shell command hangs #440

Open ahihi opened 1 year ago

ahihi commented 1 year ago

i am currently debugging a situation where the git grep command invoked by dumb-jump hangs. i hoped to find out the exact command using (setq dumb-jump-debug t), but because the dumb-jump-debug-message call in dumb-jump-run-command happens after the call to shell-command-to-string, the former is never reached.

i found it eventually, but perhaps it would be better to print the command before running it? :)