Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: I usually debug via...

by Courage (Parson)
on Feb 15, 2005 at 17:49 UTC ( #431273=note: print w/ replies, xml ) Need Help??


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)


Comment on Re^2: I usually debug via...
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: 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.

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://431273]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2014-08-29 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (288 votes), past polls