Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: [EMACS] "Emacs as Perl IDE" - Abstract for YAPC::EU 2016

by Erez (Priest)
on Jul 19, 2016 at 07:17 UTC ( [id://1168034]=note: print w/replies, xml ) Need Help??


in reply to Re^2: [EMACS] "Emacs as Perl IDE" - Abstract for YAPC::EU 2016
in thread [EMACS] "Emacs as Perl IDE" - Abstract for YAPC::EU 2016

The perldb works really well inside of emacs

That's very nice to know. I've probably never used the perdb in my work, but I do appreciate its existence and that it works well within emacs.

Principle of Least Astonishment: Any language that doesn’t occasionally surprise the novice will pay for it by continually surprising the expert

Replies are listed 'Best First'.
Re^4: [EMACS] "Emacs as Perl IDE" - Abstract for YAPC::EU 2016
by LanX (Saint) on Jul 19, 2016 at 22:49 UTC
    > works well within emacs.

    To be fair, Komodo's debugger integration is better.

    You can click on a line in the source code to add a break-point ... and IIRC (?) the next run will be automatically executed under the debugger then.

    This could be implemented in Emacs of course and I haven't tried out alternative packages yet.

    Simply because debugger is very low on my priority list.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      And if we're going to continue being fair, using perldb inside emacs isn't so good with apache, becuase you need to run in single-process mode. If you've got some subtle problem with multiple apache processes, you're better off using it with the Tk front-end.

      Setting breakpoints by clicking on a line sounds like an okay feature... I guess I might also like some sort of highlighting feature to see where breakpoints are set.

      Nevertheless, I highly recommend using perl -d with *some* sort of front-end that shows the context of the code you're looking at so you don't have to keep punching the "v" command (I think it's "v"... used to be "w" for window, but now that's watchexpression).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-19 03:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found