I've been adding some modifications to the perldb which goes through gud. When started it calls its perldb-mode-hook
so that and .perldb
is where I'm working.
From within the hook I can get the buffer name which is in the form *gud-
script.pl*
and thus in the context of the gud comint buffer where there is no file being visited. I could parse the file's name out of the buffer name, but it seems I should be able to get the path and name of the Perl file executed or the whole command line run.