[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-beginners
Subject: Re: debug perl package
From: ÐлÑÑ Ð Ð°ÑÑадин <elcamlost () gmail ! com>
Date: 2017-07-18 6:22:29
Message-ID: e52672aa-06b5-adfc-6783-0b9c16360946 () gmail ! com
[Download RAW message or body]
Perl5 plugin for intelij IDEA has support for built-in Perl debugger. So
you may consider it as a gui interface to debugger.
18.07.17 5:48, David Mertens пиÑеÑ:
> If you really want a GUI debugger you might consider Padre. I've used
> it as a debugger once or twice, but recall running into issues. Note
> that Padre has been a stale project for a while, so it may not even
> install.
>
> A safe bet, if non-gui, is the perl debugger, as already mentioned.
>
> David
>
> On Mon, Jul 17, 2017 at 4:39 PM, Andrew Solomon <andrew@geekuni.com
> <mailto:andrew@geekuni.com>> wrote:
>
> There's also a very nice tutorial here
> http://techblog.net-a-porter.com/2014/03/learning-the-perl-debugger-introduction/
> <http://techblog.net-a-porter.com/2014/03/learning-the-perl-debugger-introduction/>
>
> On Mon, Jul 17, 2017 at 8:54 PM, Chas. Owens <chas.owens@gmail.com
> <mailto:chas.owens@gmail.com>> wrote:
>
> Perl has a built in debugger. You can say
>
> perl -d abc.pl <http://abc.pl>
>
> And it will stop at the first executable line (ignoring BEGIN
> blocks and use statements). You can then step through or over
> the code. See https://perldoc.perl.org/perldebug.html
> <https://perldoc.perl.org/perldebug.html> or perldoc perldebug
> for more information.
>
> On Mon, Jul 17, 2017 at 3:48 PM Asad <asad.hasan2004@gmail.com
> <mailto:asad.hasan2004@gmail.com>> wrote:
>
> Hi All ,
>
> I am new to perl , I a have a abc.pl
> <http://abc.pl> script and abc.pm <http://abc.pm> module .
> I want to understand when I execute abc.pl <http://abc.pl>
> hw to get to a debug state to identify what values does it
> take . Any GUI interface available to see the flow of events.
>
>
> --
> Asad Hasan
> +91 9582111698 <tel:+91%2095821%2011698>
>
>
>
>
> --
> Andrew Solomon
>
> Mentor@Geekuni http://geekuni.com/ <http://geekuni.com/>
> http://www.linkedin.com/in/asolomon
> <http://www.linkedin.com/in/asolomon>
>
>
>
>
> --
> "Debugging is twice as hard as writing the code in the first place.
> Therefore, if you write the code as cleverly as possible, you are,
> by definition, not smart enough to debug it." -- Brian Kernighan
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Perl5 plugin for intelij IDEA has support for built-in Perl
debugger. So you may consider it as a gui interface to debugger.<br>
</p>
<br>
<div class="moz-cite-prefix">18.07.17 5:48, David Mertens пишет:<br>
</div>
<blockquote type="cite"
cite="mid:CA+4ieYVkcVpcDsRhEAbbQs_X_8msnXXFTuifiN-7xw4Zv5HjMg@mail.gmail.com">
<div dir="ltr">
<div>
<div>If you really want a GUI debugger you might consider
Padre. I've used it as a debugger once or twice, but recall
running into issues. Note that Padre has been a stale
project for a while, so it may not even install.<br>
<br>
</div>
A safe bet, if non-gui, is the perl debugger, as already
mentioned.<br>
<br>
</div>
David<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jul 17, 2017 at 4:39 PM, Andrew
Solomon <span dir="ltr"><<a
href="mailto:andrew@geekuni.com" target="_blank"
moz-do-not-send="true">andrew@geekuni.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">There's also a very nice tutorial here <a
href="http://techblog.net-a-porter.com/2014/03/learning-the-perl-debugger-introduction/"
target="_blank" \
moz-do-not-send="true">http://techblog.net-a-<wbr>porter.com/2014/03/learning-<wbr>the-perl-debugger-<wbr>introduction/</a></div>
<div class="gmail_extra">
<div>
<div class="h5"><br>
<div class="gmail_quote">On Mon, Jul 17, 2017 at 8:54
PM, Chas. Owens <span dir="ltr"><<a
href="mailto:chas.owens@gmail.com"
target="_blank" \
moz-do-not-send="true">chas.owens@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Perl has a built in debugger. You
can say
<div><br>
</div>
<div>perl -d <a href="http://abc.pl"
target="_blank" moz-do-not-send="true">abc.pl</a></div>
<div><br>
</div>
<div>And it will stop at the first executable
line (ignoring BEGIN blocks and use
statements). You can then step through or
over the code. See <a
href="https://perldoc.perl.org/perldebug.html"
target="_blank" \
moz-do-not-send="true">https://perldoc.perl.org/p<wbr>erldebug.html</a> or perldoc \
perldebug for more information.</div> </div>
<div class="m_300641423399697637HOEnZb">
<div class="m_300641423399697637h5"><br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Jul 17, 2017 at 3:48
PM Asad <<a
href="mailto:asad.hasan2004@gmail.com"
target="_blank" \
moz-do-not-send="true">asad.hasan2004@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div> I am new to perl , I a
have a <a href="http://abc.pl"
target="_blank"
moz-do-not-send="true">abc.pl</a>
script and <a href="http://abc.pm"
target="_blank"
moz-do-not-send="true">abc.pm</a>
module . I want to understand when I
execute <a href="http://abc.pl"
target="_blank"
moz-do-not-send="true">abc.pl</a> hw
to get to a debug state to identify
what values does it take . Any GUI
interface available to see the flow of
events.</div>
</div>
<div dir="ltr">
<div><br clear="all">
<div><br>
</div>
-- <br>
<div
class="m_300641423399697637m_6229884740602749982m_-2433623414908116796gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">Asad Hasan<br>
<a href="tel:+91%2095821%2011698"
value="+919582111698"
target="_blank"
moz-do-not-send="true">+91
9582111698</a></div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
</div>
</div>
<span class="HOEnZb"><font color="#888888">-- <br>
<div class="m_300641423399697637gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">Andrew Solomon
<div><br>
</div>
<div>Mentor@Geekuni <a href="http://geekuni.com/"
target="_blank" \
moz-do-not-send="true">http://geekuni.<wbr>com/</a></div> <div><a \
href="http://www.linkedin.com/in/asolomon"
target="_blank" \
moz-do-not-send="true">http://www.linkedin.com/in/<wbr>asolomon</a><br> </div>
</div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature"> "Debugging
is twice as hard as writing the code in the first place.<br>
Therefore, if you write the code as cleverly as possible,
you are,<br>
by definition, not smart enough to debug it." -- Brian
Kernighan<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic