find /home/troc/project/foo -name '*.pl' -o -name '*.pm' -o -name '*.t
+' | grep -v blib | cscope -b -q -i -
I read on the web that cscope only pays attention to C-style file extensions unless you find and include specific files yourself.
| [reply] [d/l] |
ack -f --perl | cscope -b -q -i -
Having done that, my editor doesn't take cscope output - but it does tack ctags output, so same idea:
ack -f --perl | ctags -L -
If you don't have ack, you should. It's written in perl, and is way easier to use than grep, with way more functionality. | [reply] [d/l] [select] |
Never heard of DDD (debugger frontent) before, but it sounds interesting.
Do you use it as a frontend to gdb, or to GUD/perldb?
/J
| [reply] |
Its not exactly a frontend to gdb. It's another frontend like gdb. It is gui based unlike the term based gdb.
Pari
| [reply] |
Just looked at the DDD website and I stand corrected -
"GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX, WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb, the GNU Make debugger remake, or the Python debugger pydb."
Pari
| [reply] |
cscope usage doesn't depend on the target | [reply] |
Thanks for the prompt reply, I managed to created the cscope file for my perl codebase, but it doesn't load to emacs at all. Any idea?
| [reply] |
Hi John,
How did you create the cscope db for your perl source code? I am looking for the same thing (although with vi). Can you share some info?
Pari
| [reply] |
Sorry, don't use emacs :/
| [reply] |