http://www.perlmonks.org?node_id=431273


in reply to Re: I usually debug via...
in thread I usually debug via...

Do you mean, that emacs supports step-by-step debugging for Perl, or it is your own chortcut/copy-pasto circuit?

In case your technique is supported for emacs, then it is a thing that Vim can not do, but emacsers easily do; am I right? What other languages also supported?

(I am not going to start discussion about what editor is better)

Replies are listed 'Best First'.
Re^3: I usually debug via...
by jmcnamara (Monsignor) on Feb 15, 2005 at 20:18 UTC

    The Emacs perl debugger is available via the GUD, the Grand Unified Debugger and cperl-mode.

    It looks a little like this.

    --
    John.

Re^3: I usually debug via...
by Aristotle (Chancellor) on Feb 20, 2005 at 18:37 UTC

    it is a thing that Vim can not do, but emacsers easily do; am I right?

    No. Vim can embed Perl, Python and Ruby. You can do anything with Vim that you can do with Emacs.

    Makeshifts last the longest.

      Actually I know that vim can embed perl. More to that, I, personally, write a number of vim scripts with perl, and found this technology extremely powerfull.

      To say, I saw how someone implements in VIM script a bubble-sort, to save people from feeding lines to 'sort' external program (it is not always available).
      Needless to say, this is just one line in Perl.
      I do SGML stuff using Perl from inside VIM scripts, among other things.

      But VIM probably do not allow step-by-step debugging like Emacs, due to its intention to be compact and not part of OS.

      I saw somewhere that "emacs is a good OS but lacks editing capabilities"

        But VIM probably do not allow step-by-step debugging like Emacs, due to its intention to be compact and not part of OS.

        Why do you keep saying that? What makes you think you can't control external processes such as a debugger with Perl? Is it a problem sending the process commands? Maybe you don't think its output can be parsed? Or is it something else?

        Makeshifts last the longest.

Re: I usually debug via...
by jonadab (Parson) on Feb 20, 2005 at 18:28 UTC
    then it is a thing that Vim can not do, but emacsers easily do; am I right?

    There are a *lot* of such things.

      You are behind the times. Vim has been able to embed Perl, Python and Ruby for a while. There's a Vim plugin using the Perl interpreter to turn Vim into an IRC client, f.ex. One of my pet projects uses the Perl interpreter and Gtk2 to add some minor IDE-ish features to gvim/gtk+.

      Makeshifts last the longest.